﻿/*
ReportConfig.sql
Created by: Dung Le Anh
Purpose: For all report config.
Script Date: 11/09/2011 00:10:19
*/


---------------------------------REPORT CONFIG PART----------------------------------------------


DELETE sys_ReportHistoryPara
DELETE sys_ReportHistory
DELETE sys_ReportPara
DELETE sys_ReportFields
DELETE sys_ReportAndGroup
DELETE sys_Report
DELETE sys_ReportGroup

-- sys_ReportGroup--------------------------
/****** Object:  Table [sys_ReportGroup]    Script Date: 11/09/2011 00:10:19 ******/
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20051130134543937', N'Inventory', 3, N'Báo cáo kho', N'Inventory(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20051214095838810', N'Product Item', 6, N'Thông tin sản phẩm', N'Product Item(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20051222150154153', N'Sale', 7, N'Bán hàng', N'Sale(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20060315155928170', N'Production', 8, N'Sản xuất', N'Production(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20060316154800420', N'Material', 2, N'Vật tư, hàng hoá', N'Material(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20060317095801560', N'Procurement', 5, N'Mua hàng', N'Procurement(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20060418145303903', N'Others', 9, N'Báo cáo khác', N'Others(JP)')
INSERT [sys_ReportGroup] ([GroupID], [GroupName], [GroupOrder], [GroupNameVN], [GroupNameJP]) VALUES (N'20070117145738640', N'Payroll', 10, N'Thanh toán', N'Payroll(JP)')

GO
-- sys_Report--------------------------
/****** Object:  Table [sys_Report]    Script Date: 11/09/2011 00:10:19 ******/
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20051214095905607', N'Routing Information', N'', N'', N'ProductRoutingReport.cs', N'C# File', N'[ProductRoutingReport]-[ProductRoutingReport.ProductRoutingReport]-[ExecuteReport(@CCNID, @ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'RoutingReport.xml', N'Routing Information', N'Routing Information')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20051216102010373', N'List Of Materials', N'', N'', N'ItemListReport.cs', N'C# File', N'[ItemListReport]-[ItemListReport.ItemListReport]-[ExecuteReport(@CCN, @Category, @Model, @Source, @Type, @MakeItem)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'ItemListReport.xml', N'List Of Materials', N'List Of Materials')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20051216155448810', N'Báo cáo liệt kê giao dịch kho', N'', N'', N'TransactionHistoryReport.cs', N'SQL', N'Declare @fdate1 datetime,@tdate1 datetime
set @fdate1=@fdate
set @tdate1=@tdate
Select @fdate1 fdate,@tdate1 tdate,Trantype Trantypename,TranNo,I.Code Partnumber,i.description PartName, qty Quantity,TLOC.Code ToLoc,
TBin.Code Tobin,Floc.Code FromLoc,Fbin.code frombin,um.code UMcode,x.postdate,Fgoodscode
from (
select WC.PostDate,WOCompletionNo TranNo,WC.ProductID,WC.CompletedQuantity Qty, WC.LocationID ToLoc,WC.BinID ToBin,'''' FromLoc,'''' FromBin ,
N''Nhập sản phẩm hoàn thành'' Trantype,WOD.SaleOrderDetailID
from PRO_WorkOrderCompletion WC
INNER JOIN PRO_WorkOrderDetail WOD ON WOD.WorkOrderDetailID= WC.WorkOrderDetailID
UNION ALL
select M.PostDate,M.ReceiveNo TranNo,D.ProductID,D.ReceiveQuantity Qty,LocationID ToLoc,BinID ToBin,'''' FromLoc,'''' FromBin  ,
N''Nhập mua hàng'' Trantype, NULL SaleOrderDetailID
from PO_PurchaseOrderReceiptDetail D
JOIN PO_PurchaseOrderReceiptMaster M ON M.PurchaseOrderReceiptID=D.PurchaseOrderReceiptID
UNION ALL
select WO.PostDate,WO.WOCompletionNo TranNo,MST.ProductID,-Quantity Qty,'''' ToLoc,'''' ToBin,MST.LocationID FromLoc,MST.BinID FromBin ,
N''Rút vật tư do nhập hoàn thành'' Trantype,WOD.SaleOrderDetailID
from MST_TransactionHistory MST
INNER JOIN PRO_WorkOrderCompletion WO ON WO.WorkOrderCompletionID=MST.RefMasterID
INNER JOIN PRO_WorkOrderDetail WOD ON WOD.WorkOrderDetailID=WO.WorkOrderDetailID
WHERE Trantypeid=19 AND MST.Quantity<0
UNION ALL
select M.PostDate,M.TransNo TranNo,D.ProductID,D.Quantity * ISNULL(P.Rate,1) Qty,DesLocationID ToLoc,DesBinID ToBin, SourceLocationID FromLoc,SourceBinID FromBin, 
N''Xuất chuyển kho'' Trantype,M.SaleOrderDetailID
from IV_MiscellaneousIssueDetail D
JOIN IV_MiscellaneousIssueMaster M ON M.MiscellaneousIssueMasterID=D.MiscellaneousIssueMasterID
JOIN PRO_IssuePurpose PP ON PP.IssuePurposeID=M.IssuePurposeID
JOIN ITM_Product P ON D.ProductID = P.ProductID
UNION ALL
Select M.ShippedDate PostDate,M.ConfirmShipNo TranNo,D.ProductID,
D.InvoiceQty Qty,''''ToLoc,''''ToBin,CD.LocationID FromLoc, CD.BinID FromBin,
N''Xuất bán''TranType,NULL SaleOrderDetailID
from SO_ConfirmShipDetail D
INNER JOIN SO_ConfirmShipMaster M ON M.ConfirmShipMasterID=D.ConfirmShipMasterID
INNER JOIN SO_CommitInventoryDetail CD ON D.DeliveryScheduleID=CD.DeliveryScheduleID
UNION ALL
Select M.PostDate,M.IssueNo TranNo,D.ProductID,D.CommitQuantity Qty,M.ToLocationID ToLoc,M.ToBinID ToBin,D.LocationID FromLoc,D.BinID FromBin,
N''Xuất vật liệu cho sản xuất''TranType,WOD.SaleOrderDetailID
from PRO_IssueMaterialDetail D
INNER JOIN PRO_IssueMaterialMaster M ON M.IssueMaterialMasterID=D.IssueMaterialMasterID
INNER JOIN PRO_WorkOrderDetail WOD ON WOD.WorkOrderDetailID=D.WorkOrderDetailID
)x
left join itm_product i on i.productid=x.productid
left join MST_Location Floc on floc.LocationID=X.FromLoc
left join MST_Location Tloc on tloc.locationid=x.ToLoc
left join MST_Bin fbin on fbin.BinID=X.Frombin
left join MST_Bin tbin on tbin.Binid=x.ToBin
left join SO_SaleOrderDetail SOD ON SOD.SaleOrderDetailID=X.SaleOrderDetailID
inner join MST_UnitOfMeasure um on um.UnitOfMeasureID=I.StockUMID
WHERE x.postdate>=@fdate and x.postdate<=@tdate
and X.SaleOrderDetailID in (@fgoodscode)', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TransactionHistoryReport.xml', N'Báo cáo liệt kê giao dịch kho', N'Báo cáo liệt kê giao dịch kho')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20051222150218873', N'Delivery To Customer Schedule', N'', N'', N'Delivery2CustomerByMonthReport.cs', N'C# File', N'[Delivery2CustomerByMonthReport]-[Delivery2CustomerByMonthReport.Delivery2CustomerByMonthReport]-[ExecuteReport(@CCNID, @ReportMonth , @ReportYear, @PartyID, @CategoryID, @ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|24|Bold|1|False|Point', N'Arial Narrow|9|Bold|1|False|Point', N'Arial Narrow|9|Bold|1|False|Point', N'Arial Narrow|9|Bold|1|False|Point', N'Arial Narrow|9|Regular|1|False|Point', N'Arial Narrow|8|Regular|1|False|Point', N'Arial Narrow|9|Regular|1|False|Point', 0, N'', N'Delivery To Customer Schedule', N'Delivery To Customer Schedule')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20051227093844013', N'Item Where Used Report', N'', N'', N'', N'SQL', N'SELECT            
ITM_Product.Code AS ''PartNumber'', 
ITM_Product.Description AS ''PartName'', 
ITM_Product.Revision,
ITM_BOM.Quantity, 
ITM_BOM.LeadTimeOffset, 
ITM_BOM.Shrink, 
ITM_Product.ProductID,          
MST_UnitOfMeasure.Code AS ''Unit'', 
ITM_Product.SafetyStock
FROM 
ITM_BOM JOIN ITM_Product
ON ITM_BOM.ProductID = ITM_Product.ProductID
JOIN MST_UnitOfMeasure 
ON  ITM_Product.StockUMID = MST_UnitOfMeasure.UnitOfMeasureID
WHERE ITM_BOM.ComponentID = @ProductID
ORDER BY ITM_Product.ProductID', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|12|Bold|0|False|Point', N'Arial Narrow|9|Regular|0|False|Point', N'Arial Narrow|9|Regular|0|False|Point', N'Arial Narrow|9|Bold|1|False|Point', N'Arial Narrow|8.25|Regular|0|False|Point', N'Arial Narrow|8|Regular|1|False|Point', N'Arial Narrow|9|Regular|1|False|Point', 0, N'', N'Item Where Used Report', N'Item Where Used Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060106112624623', N'Inventory Status Summary by Master Location', N'', N'', N'InventoryStatusSummaryByMasterLocationReport.cs', N'C# File', N'[InventoryStatusSummaryByMasterLocationReport]-[InventoryStatusSummaryByMasterLocationReport.InventoryStatusSummaryByMasterLocationReport]-[ExecuteReport(@CCNID,@MasterLocationID,@CategoryID,@Model)]', 720, 720, 720, 720, 0, 0, 1, 9, 3, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'InventoryStatusSummaryByMasterLocationReport.xml', N'Inventory Status Summary by Master Location', N'Inventory Status Summary by Master Location')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060106114352030', N'Inventory Status', N'', N'', N'InventoryStatusReport.cs', N'C# File', N'[InventoryStatusReport]-[InventoryStatusReport.InventoryStatusReport]-[ExecuteReport(@CCNID,@MasterLocationID,@LocationID,@CategoryID,@Model)]', 720, 720, 720, 720, 0, 0, 1, 9, 3, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'InventoryStatusReport.xml', N'Trạng thại kho', N'Inventory Status')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060121165113763', N'Inventory Detail', N'', N'', N'InventoryDetailReport.cs', N'C# File', N'[InventoryDetailReport]-[InventoryDetailReport.InventoryDetailReport]-[ExecuteReport(@CCNID,@MasterLocationID,@LocationID,@BinID,@CategoryID,@Model)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'InventoryDetailReport.xml', N'Inventory Detail', N'Inventory Detail')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060123104959123', N'Vendor and Supply Item', N'', N'', N'', N'SQL', N'SELECT 0 AS No, MST_Party.PartyID, MST_Party.Code + '' - '' + MST_Party.Name AS ''Vendor'', ITM_Category.Code AS Category,
ITM_Product.Code AS ''PartNo'', ITM_Product.Description AS ''PartName'', Revision,
MST_UnitOfMeasure.Code AS ''BuyingUM'', ITM_Source.Code AS ''Source'', ITM_Product.MakeItem,
ITM_Product.OrderQuantity, ITM_Product.OrderQuantityMultiple, ITM_Product.ListPrice,
MST_Currency.Code AS ''Currency'', ITM_Product.LTFixedTime, ITM_Product.VAT, ITM_Product.ImportTax
FROM MST_Party
JOIN ITM_Product ON MST_Party.PartyID = ITM_Product.PrimaryVendorID
LEFT JOIN ITM_Category ON ITM_Product.CategoryID = ITM_Category.CategoryID
JOIN MST_UnitOfMeasure ON ITM_Product.BuyingUMID = MST_UnitOfMeasure.UnitOfMeasureID
LEFT JOIN ITM_Source ON ITM_Product.SourceID = ITM_Source.SourceID
LEFT JOIN MST_Currency ON ITM_Product.VendorCurrencyID = MST_Currency.CurrencyID
WHERE MST_Party.PartyID = @PartyID', 720, 720, 720, 720, 0, 0, 1, 9, 3, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Vendor and Supply Item', N'Vendor and Supply Item')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060123151943030', N'Inventory Detail by Product', N'', N'', N'InventoryDetailByProductReport.cs', N'C# File', N'[InventoryDetailByProductReport]-[InventoryDetailByProductReport.InventoryDetailByProductReport]-[ExecuteReport(@CCNID,@MasterLocationID,@LocationID,@BinID,@CategoryID,@Model)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'InventoryDetailByProductReport.xml', N'Inventory Detail by Product', N'Inventory Detail by Product')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060124141252233', N'Warning Min-Max-Stock Report', N'', N'', N'', N'SQL', N'SELECT	0 AS ''NO'', ITM_Category.Code AS ''Category'', ITM_Source.Code AS ''Source'', MST_Party.Code AS ''Vendor'',
	ITM_Product.Code AS ''PartNo'', ITM_Product.Description AS ''PartName'', ITM_Product.Revision AS ''Model'',
	MST_UnitOfMeasure.Code AS ''StockUM'', 
	(SELECT ISNULL(SUM(ISNULL(OHQuantity,0)),0) AS OKQuantity FROM IV_BinCache JOIN MST_BIN
	ON IV_BinCache.BinID = MST_BIN.BinID
	JOIN enm_BinType ON MST_BIN.BinTypeID = enm_BinType.BinTypeID
	WHERE IV_BinCache.MasterLocationID = @MasterLocationID AND enm_BinType.Name IN (''OK'', ''BF'')
	AND IV_BinCache.ProductID = ITM_Product.ProductID) AS OK,
	(SELECT ISNULL(SUM(ISNULL(OHQuantity,0)),0) AS OKQuantity FROM IV_BinCache JOIN MST_BIN
	ON IV_BinCache.BinID = MST_BIN.BinID
	JOIN enm_BinType ON MST_BIN.BinTypeID = enm_BinType.BinTypeID
	WHERE IV_BinCache.MasterLocationID = @MasterLocationID AND enm_BinType.Name = ''NG''
	AND IV_BinCache.ProductID = ITM_Product.ProductID) AS NG,
	(SELECT ISNULL(SUM(ISNULL(OHQuantity,0)),0) AS OKQuantity FROM IV_BinCache JOIN MST_BIN
	ON IV_BinCache.BinID = MST_BIN.BinID
	JOIN enm_BinType ON MST_BIN.BinTypeID = enm_BinType.BinTypeID
	WHERE IV_BinCache.MasterLocationID = @MasterLocationID AND enm_BinType.Name = ''DS''
	AND IV_BinCache.ProductID = ITM_Product.ProductID) AS DS,
	ISNULL(ITM_Product.SafetyStock, 0) AS SafetyStock, ISNULL(ITM_Product.MinimumStock, 0) AS ''MinStock'', 
	ISNULL(ITM_Product.MaximumStock, 0) AS ''MaxStock''
FROM ITM_Product LEFT JOIN ITM_Category
ON ITM_Product.CategoryID = ITM_Category.CategoryID
LEFT JOIN ITM_Source
ON ITM_Product.SourceID = ITM_Source.SourceID
LEFT JOIN MST_Party
ON ITM_Product.PrimaryVendorID = MST_Party.PartyID
JOIN MST_UnitOfMeasure
ON ITM_Product.StockUMID = MST_UnitOfMeasure.UnitOfMeasureID
WHERE ITM_Product.CCNID = @CCNID
AND ITM_Product.CategoryID IN (@CategoryID)
AND ITM_Product.SourceID = @SourceID
AND ITM_Product.Revision IN (@Model)
AND ITM_Product.ProductID IN (@ProductID)', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'WarningMaxMinStock.xml', N'Warning Min-Max-Stock Report', N'Warning Min-Max-Stock Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060315100920780', N'Shipping Management Transaction History', N'', N'', N'', N'SQL', N'SELECT DISTINCT 0 AS No, SO_ConfirmShipMaster.ShippedDate, SO_ConfirmShipMaster.ConfirmShipNo,
ITM_Product.Code AS PartNo, ITM_Product.Description AS PartName, ITM_Product.Revision AS Model,
MST_UnitOfMeasure.Code AS SellingUM, SO_SaleOrderDetail.ShipQuantity, SO_SaleType.Code AS SaleType,
SO_SaleOrderMaster.Code AS SONo, SaleOrderLine, SO_DeliverySchedule.Line AS DelLine,
MST_Party.Code AS CustomerCode, MST_Party.Name AS CustomerName, SO_ConfirmShipMaster.Username
FROM SO_ConfirmShipMaster JOIN SO_ConfirmShipDetail
ON SO_ConfirmShipMaster.ConfirmShipMasterID = SO_ConfirmShipDetail.ConfirmShipMasterID
JOIN ITM_Product
ON SO_ConfirmShipDetail.ProductID = ITM_Product.ProductID
JOIN SO_DeliverySchedule
ON SO_ConfirmShipDetail.DeliveryScheduleID = SO_DeliverySchedule.DeliveryScheduleID
JOIN SO_SaleOrderMaster
ON SO_ConfirmShipMaster.SaleOrderMasterID = SO_SaleOrderMaster.SaleOrderMasterID
JOIN SO_SaleOrderDetail
ON SO_ConfirmShipDetail.SaleOrderDetailID = SO_SaleOrderDetail.SaleOrderDetailID
JOIN MST_UnitOfMeasure
ON SO_SaleOrderDetail.SellingUMID = MST_UnitOfMeasure.UnitOfMeasureID
JOIN MST_Party
ON SO_SaleOrderMaster.PartyID = MST_Party.PartyID
LEFT JOIN SO_SaleType
ON SO_SaleOrderMaster.SaleTypeiD = SO_SaleType.SaleTypeID
WHERE SO_ConfirmShipMaster.CCNID = @CCNID
AND SO_ConfirmShipMaster.ShippedDate >= @FromDate
AND SO_ConfirmShipMaster.ShippedDate <= @ToDate
AND SO_ConfirmShipMaster.SaleOrderMasterID = @SaleOrderMasterID
AND SO_SaleORderMaster.PartyID = @Customer
AND SO_ConfirmShipDetail.ProductID = @ProductID
AND SO_ConfirmShipMaster.Username = @Username', 720, 432, 720, 720, 0, 1, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Shipping Management Transaction History', N'Shipping Management Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060315102826293', N'Sales Order Commitment Transaction History', N'', N'', N'', N'SQL', N'SELECT DISTINCT 0 AS No, SO_DeliverySchedule.ScheduleDate, SO_SaleOrderMaster.Code AS SONo,
ITM_Product.Code AS PartNo, ITM_Product.Description AS PartName, ITM_Product.Revision AS Model,
MST_UnitOfMeasure.Code AS UM, SO_CommitInventoryDetail.CommitQuantity,
MST_Location.Code AS FromLocation, MST_Party.Code AS CustomerCode, MST_Party.Name AS CustomerName, SO_CommitInventoryMaster.Username
FROM SO_CommitInventoryMaster JOIN SO_CommitInventoryDetail
ON SO_CommitInventoryMaster.CommitInventoryMasterID = SO_CommitInventoryDetail.CommitInventoryMasterID
JOIN SO_SaleOrderMaster
ON SO_CommitInventoryMaster.SaleOrderMasterID = SO_SaleOrderMaster.SaleOrderMasterID
JOIN SO_SaleOrderDetail
ON SO_CommitInventoryMaster.SaleOrderMasterID = SO_SaleOrderDetail.SaleOrderMasterID
JOIN SO_DeliverySchedule
ON SO_CommitInventoryDetail.DeliveryScheduleID = SO_DeliverySchedule.DeliveryScheduleID
JOIN ITM_Product
ON SO_CommitInventoryDetail.ProductID = ITM_Product.ProductID
JOIN MST_UnitOfMeasure
ON SO_CommitInventoryDetail.StockUMID = MST_UnitOfMeasure.UnitOfMeasureID
JOIN MST_Party
ON SO_SaleOrderMaster.PartyID = MST_Party.PartyID
JOIN MST_Location
ON SO_CommitInventoryDetail.LocationID = MST_Location.LocationID
WHERE SO_CommitInventoryDetail.CCNID = @CCNID
AND SO_CommitInventoryDetail.LocationID = @FromLocation
AND SO_SaleOrderMaster.PartyID = @Customer
AND ITM_Product.Revision IN (@Model)
AND ITM_Product.ProductID IN (@ProductID)
AND SO_CommitInventoryMaster.Username = @Username', 720, 432, 720, 720, 0, 1, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Sales Order Commitment Transaction History', N'Sales Order Commitment Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060315104201077', N'Inventory Adjustment Transaction History', N'', N'', N'', N'SQL', N'SELECT 0 AS No, PostDate, TransNo, ITM_Product.Code AS PartNo, ITM_Product.Description AS PartName, ITM_Product.Revision AS Model,
CA.Code ITM_CategoryCode,
MST_UnitOfMeasure.Code AS UM, IV_Adjustment.AdjustQuantity, MST_Location.Code AS Location, MST_Bin.Code AS Bin, IV_Adjustment.Comment, IV_Adjustment.Username
FROM IV_Adjustment JOIN ITM_Product
ON IV_Adjustment.ProductID = ITM_Product.ProductID
JOIN MST_UnitOfMeasure
ON IV_Adjustment.StockUMID = MST_UnitOfMeasure.UnitOfMeasureID
JOIN MST_Location
ON IV_Adjustment.LocationID = MST_Location.LocationID
LEFT JOIN MST_Bin
ON IV_Adjustment.BinID = MST_Bin.BinID
LEFT JOIN ITM_Category CA ON CA.CategoryID = ITM_Product.CategoryID
WHERE IV_Adjustment.CCNID = @CCNID AND
PostDate >= @FromDate AND
PostDate <= @ToDate AND
IV_Adjustment.LocationID = @LocationID AND
ITM_Product.Revision IN (@Model) AND
IV_Adjustment.ProductID IN (@ProductID) AND
IV_Adjustment.Username = @Username', 720, 720, 720, 720, 0, 0, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Inventory Adjustment Transaction History', N'Inventory Adjustment Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060315155943547', N'Work Order Completion Transaction History', N'', N'', N'', N'SQL', N'SELECT  0 as [No.],
	PRO_WorkOrderCompletion.PostDate as [Post Date], 
	PRO_Shift.ShiftDesc as [Shift],
	PRO_WorkOrderCompletion.WOCompletionNo as [Completion No.], 
	ITM_Product.Code as [Part No.], 
	ITM_Product.Description as [Part Name], 
        ITM_Product.Revision as [Model],
	MST_UnitOfMeasure.Code as [Stock UM],
	PRO_WorkOrderCompletion.CompletedQuantity as [Completed Qty], 
        MST_Location.Code as [Location],
	MST_BIN.Code as [Bin],	
	PRO_WorkOrderCompletion.Remark,
                PRO_IssuePurpose.Description AS [Purpose],
	PRO_WorkOrderCompletion.UserName as [User Name]

FROM    PRO_WorkOrderCompletion 
	INNER JOIN ITM_Product ON PRO_WorkOrderCompletion.ProductID = ITM_Product.ProductID 
	INNER JOIN MST_UnitOfMeasure ON MST_UnitOfMeasure.UnitOfMeasureID = ITM_Product.StockUMID
	LEFT JOIN PRO_Shift ON PRO_WorkOrderCompletion.ShiftID = PRO_Shift.ShiftID 
	LEFT JOIN MST_Location ON PRO_WorkOrderCompletion.LocationID = MST_Location.LocationID 
	LEFT JOIN MST_BIN ON PRO_WorkOrderCompletion.BinID = MST_BIN.BinID 
	LEFT JOIN PRO_IssuePurpose ON PRO_WorkOrderCompletion.IssuePurposeID = PRO_IssuePurpose.IssuePurposeID

WHERE PRO_WorkOrderCompletion.CCNID = @CCNID
	AND PRO_WorkOrderCompletion.PostDate >= @FromDate
	AND PRO_WorkOrderCompletion.PostDate <= @ToDate
	AND PRO_WorkOrderCompletion.IssuePurposeID = @PurposeID
	AND PRO_WorkOrderCompletion.ShiftID = @ShiftID
	AND PRO_WorkOrderCompletion.LocationID = @LocationID
	AND PRO_WorkOrderCompletion.WorkOrderMasterID = @WorkOrderMasterID
	AND PRO_WorkOrderCompletion.WorkOrderDetailID = @WorkOrderDetailID
	AND PRO_WorkOrderCompletion.ProductID = @ProductID
                AND PRO_WorkOrderCompletion.UserName = @UserName', 720, 720, 720, 720, 0, 0, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Work Order Completion Transaction History', N'Work Order Completion Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060315160033250', N'Issue Material Transaction History', N'', N'', N'', N'SQL', N'SELECT  0 as [No.],
	PRO_IssueMaterialMaster.PostDate as [Post Date],
	PRO_IssueMaterialMaster.IssueNo as [Issue No.],
	PRO_IssuePurpose.Description as Purpose,
	PRO_Shift.ShiftDesc as Shift,
	ITM_Product.Code AS [Component No.],
	ITM_Product.Description AS [Component Name],
        ITM_Product.Revision as Model,
	MST_UnitOfMeasure.Code AS UM,
	PRO_IssueMaterialDetail.CommitQuantity as [Commit Quantity],
	From_Loc.Code as [From Loc],
	From_Bin.Code as [From Bin],
	To_Loc.Code as [To Loc],
        To_Bin.Code AS [To Bin],	
	PRO_WorkOrderMaster.WorkOrderNo as [Work Order No.],
	PRO_WorkOrderDetail.Line as [WO Line],
	PRO_IssueMaterialMaster.UserName as [User Name]
	
FROM    PRO_IssueMaterialDetail
	INNER JOIN PRO_IssueMaterialMaster ON PRO_IssueMaterialMaster.IssueMaterialMasterID = PRO_IssueMaterialDetail.IssueMaterialMasterID
	INNER JOIN PRO_Shift ON PRO_IssueMaterialMaster.ShiftID = PRO_Shift.ShiftID
	LEFT JOIN PRO_IssuePurpose ON PRO_IssueMaterialMaster.IssuePurposeID = PRO_IssuePurpose.IssuePurposeID 

	LEFT JOIN MST_Location To_Loc ON To_Loc.LocationID = PRO_IssueMaterialMaster.ToLocationID
	LEFT JOIN MST_BIN To_Bin ON PRO_IssueMaterialMaster.ToBinID = To_Bin.BinID
	
	INNER JOIN PRO_WorkOrderDetail ON PRO_IssueMaterialDetail.WorkOrderDetailID = PRO_WorkOrderDetail.WorkOrderDetailID 
	INNER JOIN PRO_WorkOrderMaster ON PRO_IssueMaterialDetail.WorkOrderMasterID = PRO_WorkOrderMaster.WorkOrderMasterID 
	INNER JOIN ITM_Product ON ITM_Product.ProductID = PRO_IssueMaterialDetail.ProductID
	INNER JOIN MST_UnitOfMeasure ON MST_UnitOfMeasure.UnitOfMeasureID = PRO_IssueMaterialDetail.StockUMID
	
	LEFT JOIN MST_Location From_Loc ON PRO_IssueMaterialDetail.LocationID = From_Loc.LocationID  
	LEFT JOIN MST_BIN From_Bin ON PRO_IssueMaterialDetail.BinID = From_Bin.BinID

WHERE PRO_IssueMaterialMaster.CCNID = @CCNID
	AND PRO_IssueMaterialMaster.PostDate >= @FromDate
	AND PRO_IssueMaterialMaster.PostDate <= @ToDate
	AND PRO_IssueMaterialMaster.IssuePurposeID = @PurposeID
	AND PRO_IssueMaterialMaster.ShiftID = @ShiftID

	AND PRO_IssueMaterialDetail.LocationID = @FromLocationID
	AND PRO_IssueMaterialMaster.ToLocationID = @ToLocationID
                AND PRO_IssueMaterialDetail.ProductID IN @ProductIDList
	AND PRO_IssueMaterialDetail.WorkOrderMasterID = @WorkOrderMasterID
	AND PRO_IssueMaterialDetail.WorkOrderDetailID = @WorkOrderDetailID
               AND PRO_IssueMaterialMaster.UserName = @UserName', 720, 720, 720, 720, 0, 0, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Issue Material Transaction History', N'Issue Material Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060316092109937', N'Misc. Issue Transaction History', N'', N'', N'', N'SQL', N'SELECT 0 AS No, PostDate, TransNo, ITM_Product.Code AS PartNo, ITM_Product.Description AS PartName, ITM_Product.Revision AS Model, MST_UnitOfMeasure.Code AS UM, IV_MiscellaneousIssueDetail.Quantity, 
FL.Code AS FromLocation, FB.Code AS FromBin, TL.Code AS ToLocation, TB.Code AS ToBin,
PRO_IssuePurpose.Description AS Purpose, MST_Party.Code AS PartyCode, 
MST_Party.Name AS PartyName, IV_MiscellaneousIssueMaster.Comment, IV_MiscellaneousIssueMaster.Username
FROM IV_MiscellaneousIssueMaster JOIN IV_MiscellaneousIssueDetail
ON IV_MiscellaneousIssueMaster.MiscellaneousIssueMasterID = IV_MiscellaneousIssueDetail.MiscellaneousIssueMasterID
JOIN ITM_Product
ON IV_MiscellaneousIssueDetail.ProductID = ITM_Product.ProductID
JOIN MST_UnitOfMeasure
ON IV_MiscellaneousIssueDetail.StockUMID = MST_UnitOfMeasure.UnitOfMeasureID
JOIN MST_Location AS FL
ON IV_MiscellaneousIssueMaster.SourceLocationID = FL.LocationID
LEFT JOIN MST_Bin AS FB
ON IV_MiscellaneousIssueMaster.SourceBinID = FB.BinID
LEFT JOIN MST_Location AS TL
ON IV_MiscellaneousIssueMaster.DesLocationID = TL.LocationID
LEFT JOIN MST_Bin AS TB
ON IV_MiscellaneousIssueMaster.DesBinID = TB.BinID
LEFT JOIN MST_Party
ON IV_MiscellaneousIssueMaster.PartyID = MST_Party.PartyID
LEFT JOIN PRO_IssuePurpose
ON IV_MiscellaneousIssueMaster.IssuePurposeID = PRO_IssuePurpose.IssuePurposeID
WHERE IV_MiscellaneousIssueMaster.CCNID = @CCNID AND
IV_MiscellaneousIssueMaster.PostDate >= @FromDate AND
IV_MiscellaneousIssueMaster.PostDate <= @ToDate AND
IV_MiscellaneousIssueMaster.IssuePurposeID = @PurposeID AND
IV_MiscellaneousIssueMaster.SourceLocationID = @FromLocation AND
IV_MiscellaneousIssueMaster.DesLocationID = @ToLocation AND
IV_MiscellaneousIssueMaster.PartyID = @PartyID AND
IV_MiscellaneousIssueMaster.Username = @Username', 720, 720, 720, 720, 0, 0, 1, 8, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Misc. Issue Transaction History', N'Misc. Issue Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060316112942170', N'Return Goods Receipt Transaction History', N'', N'', N'', N'SQL', N'SELECT  0 as [No.],
	SO_ReturnedGoodsMaster.TransDate as [Post Date],
	SO_ReturnedGoodsMaster.ReturnedGoodsNumber as [RGR No.],
	ITM_Product.Code AS [Part No.],
	ITM_Product.Description as [Part Name],
	ITM_Product.Revision as Model,
	MST_UnitOfMeasure.Code AS [Selling UM],
	SO_ReturnedGoodsDetail.ReceiveQuantity as [Return Quantity],
	MST_Location.Code AS [To Location],
        MST_BIN.Code AS [To Bin],
	SO_SaleOrderMaster.Code AS [Sale Order No.],
	MST_Party.Code as [Customer Code],
	MST_Party.Name as [Customer Name],
	SO_ReturnedGoodsMaster.UserName as [User Name]

FROM    SO_ReturnedGoodsDetail
	INNER JOIN SO_ReturnedGoodsMaster ON SO_ReturnedGoodsMaster.ReturnedGoodsMasterID = SO_ReturnedGoodsDetail.ReturnedGoodsMasterID 	
	INNER JOIN ITM_Product ON SO_ReturnedGoodsDetail.ProductID = ITM_Product.ProductID
                LEFT JOIN SO_SaleOrderMaster ON SO_SaleOrderMaster.SaleOrderMasterID = SO_ReturnedGoodsMaster.SaleOrderMasterID 
                LEFT JOIN MST_Party ON SO_ReturnedGoodsMaster.PartyID = MST_Party.PartyID
	LEFT JOIN MST_UnitOfMeasure ON MST_UnitOfMeasure.UnitOfMeasureID = SO_ReturnedGoodsDetail.UnitID
	LEFT JOIN MST_Location ON SO_ReturnedGoodsDetail.LocationID = MST_Location.LocationID
	LEFT JOIN MST_BIN ON MST_BIN.BinID = SO_ReturnedGoodsDetail.BinID

WHERE 	SO_ReturnedGoodsMaster.CCNID = @CCNID
	AND SO_ReturnedGoodsMaster.TransDate >= @FromDate
	AND SO_ReturnedGoodsMaster.TransDate <= @ToDate
	AND SO_SaleOrderMaster.SaleOrderMasterID = @SaleOrderMasterID
                AND ITM_Product.ProductID IN @ProductIDList
	AND SO_ReturnedGoodsMaster.PartyID = @PartyID
               AND SO_ReturnedGoodsMaster.UserName = @UserName', 720, 720, 720, 720, 0, 0, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Return Goods Receipt Transaction History', N'Return Goods Receipt Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060317095811873', N'Return To Vendor Transaction History', N'', N'', N'', N'SQL', N'SELECT  0 as [No.],
            PO_ReturnToVendorMaster.PostDate as [Post Date],
                PO_ReturnToVendorMaster.RTVNo as [Return No.],
            ITM_Product.Code AS [Part No.],
            ITM_Product.Description as [Part Name],
            ITM_Product.Revision as [Model],
                MST_UnitOfMeasure.Code AS [Buying UM],
            PO_ReturnToVendorDetail.Quantity as [Return Quantity],  
                MST_Location.Code AS [From Location],
            MST_BIN.Code AS [From Bin],   
            PO_PurchaseOrderMaster.Code as [Purchase Order No.], 
            MST_Party.Code AS [Vendor Code], 
            MST_Party.Name as [Vendor Name],
            PO_ReturnToVendorMaster.UserName as [User Name]
FROM    PO_ReturnToVendorDetail 
            INNER JOIN PO_ReturnToVendorMaster ON PO_ReturnToVendorDetail.ReturnToVendorMasterID = PO_ReturnToVendorMaster.ReturnToVendorMasterID
            LEFT JOIN PO_PurchaseOrderMaster ON PO_ReturnToVendorMaster.PurchaseOrderMasterID = PO_PurchaseOrderMaster.PurchaseOrderMasterID
            LEFT JOIN PO_InvoiceMaster ON PO_ReturnToVendorMaster.InvoiceMasterID = PO_InvoiceMaster.InvoiceMasterID
            INNER JOIN MST_Party ON PO_ReturnToVendorMaster.PartyID = MST_Party.PartyID
            INNER JOIN ITM_Product ON ITM_Product.ProductID = PO_ReturnToVendorDetail.ProductID
            LEFT JOIN MST_Location ON MST_Location.LocationID = PO_ReturnToVendorDetail.LocationID
            LEFT JOIN MST_BIN ON PO_ReturnToVendorDetail.BinID = MST_BIN.BinID
            LEFT JOIN MST_UnitOfMeasure ON PO_ReturnToVendorDetail.BuyingUMID = MST_UnitOfMeasure.UnitOfMeasureID            
WHERE PO_ReturnToVendorMaster.CCNID = @CCNID
      AND PO_ReturnToVendorMaster.PostDate >= @FromDate
      AND PO_ReturnToVendorMaster.PostDate <= @ToDate
      AND PO_ReturnToVendorMaster.PartyID = @PartyID
      AND PO_ReturnToVendorDetail.LocationID = @FromLocationID
     AND PO_ReturnToVendorMaster.UserName = @UserName', 720, 720, 720, 720, 0, 0, 1, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Return To Vendor Transaction History', N'Return To Vendor Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060317104452607', N'Purchase Order Receipt Transaction History', N'Purchase Order Receipt Transaction History', N'', N'', N'SQL', N'select 0 No, M.Postdate, M.ReceiveNo, M.RefNo SlipNo,PA.Code VendorCode, ERT.Description Type, M.ReceiptType, P.Code PartNumber, 
P.Description PartName, P.Revision Model, BUYUM.Code BuyingUM, D.ReceiveQuantity,
POM.Code PONo, POD.Line POLine, DL.DeliveryLine, DL.ScheduleDate, L.Code ToLocation, B.Code ToBin,
PL.Code ProductionLine, M.UserName
from PO_PurchaseOrderReceiptDetail D
inner join PO_PurchaseOrderReceiptMaster M 
on M.PurchaseOrderReceiptID = D.PurchaseOrderReceiptID
inner join ITM_Product P on D.ProductID = P.ProductID
inner join MST_UnitOfMeasure BUYUM on BUYUM.UnitOfMeasureID = D.BuyingUMID
inner join PO_PurchaseOrderMaster POM 
on POM.PurchaseOrderMasterID = D.PurchaseOrderMasterID
inner join mst_party PA on PA.PartyID = POM.PartyID
inner join PO_PurchaseOrderDetail POD 
on POD.PurchaseOrderDetailID = D.PurchaseOrderDetailID
left join PO_DeliverySchedule DL on DL.DeliveryScheduleID = D.DeliveryScheduleID
left join MST_location L on L.LocationID = D.LocationID
left join MST_BIN B on B.BinID = D.BinID
left join dbo.PRO_ProductionLine PL on PL.ProductionLineID = M.ProductionLineID
left join dbo.enm_POReceiptType ERT on ERT.POReceiptTypeCode = M.ReceiptType
where M.CCNID = @CCNID and M.PostDate >= @FromDate and M.PostDate <= @ToDate and M.ReceiptType = @Type and POM.PartyID = @Vendor', 720, 360, 720, 720, 0, 0, 1, 9, 3, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Purchase Order Receipt Transaction History', N'Purchase Order Receipt Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060327175240793', N'Outside Processing Management Report', N'', N'', N'OutsideProcessingManagementReport.cs', N'C# File', N'[OutsideProcessingManagementReport]-[OutsideProcessingManagementReport.OutsideProcessingManagementReport]-[ExecuteReport(@CCNID, @Year, @Month, @PartyID, @LocationID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Outside Processing Management Report', N'Outside Processing Management Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060415162029937', N'Import Material Receipt-old', N'', N'', N'DetailItemPriceByPOReceipt.cs', N'C# File', N'[DetailItemPriceByPOReceipt]-[DetailItemPriceByPOReceipt.DetailItemPriceByPOReceipt]-[ExecuteReport(@CCNID, @MasLocID, @CurrencyID, @ExchangeRate, @FromDate, @ToDate, @ProductIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Import Material Receipt-old', N'Import Material Receipt-old')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060417180732373', N'In-Out Stock With Cost Report', N'', N'', N'InOutStockWithCostReport.cs', N'C# File', N'[InOutStockWithCostReport]-[InOutStockWithCostReport.InOutStockWithCostReport]-[ExecuteReport(@CCNID, @Year, @Month, @LocationIDList, @CategoryIDList, @ProductIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'In-Out Stock With Cost Report', N'In-Out Stock With Cost Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060418145330543', N'User List', N'', N'', N'', N'SQL', N'SELECT 	0 as [No.],
                u.UserName as [User Name], 
	emp.Name as Employee, 
	r.Name as Role,
	u.Activate,
	u.CreatedDate as [Created Date],
	dept.Name as Department,
	u.Description

FROM 	sys_User u 
    INNER JOIN sys_UserToRole ur ON u.UserID = ur.UserID 
    INNER JOIN sys_Role r ON ur.RoleID = r.RoleID 
    LEFT JOIN MST_Employee emp ON emp.EmployeeID = u.EmployeeID
    LEFT JOIN MST_Department dept ON dept.DepartmentID = emp.DepartmentID

WHERE 	r.RoleID IN @RoleID
        AND u.UserName <> ''super''

ORDER BY u.UserName, r.Name', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'User List', N'User List')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060421143620590', N'Purchase Order Management', N'', N'', N'PurchaseOrderManagement.cs', N'C# File', N'[PurchaseOrderManagementReport]-[PurchaseOrderManagementReport.PurchaseOrderManagementReport]-[ExecuteReport(@CCNID, @POMasterID, @MakerID, @ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'PurchaseOrderManagementReport.xml', N'Purchase Order Management', N'Purchase Order Management')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060421180409437', N'Part Order Sheet Multi Vendor Report', N'', N'', N'PartOrderSheetMultiVendorReport.cs', N'C# File', N'[PartOrderSheetMultiVendorReport]-[PartOrderSheetMultiVendorReport.PartOrderSheetMultiVendorReport]-[ExecuteReport(@CCNID, @Year, @Month, @PartyID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'PartOrderSheetMultiVendorReport.xml', N'Part Order Sheet Multi Vendor Report', N'Part Order Sheet Multi Vendor Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060508114200467', N'Receiving Material Report', N'', N'', N'ReceivingMaterialReport.cs', N'C# File', N'[ReceivingMaterialReport]-[ReceivingMaterialReport.ReceivingMaterialReport]-[ExecuteReport(@CCNID, @MasLocID, @FromDate, @ToDate, @CurrencyID, @ExchangeRate, @ProductIDList, @VendorType, @VendorIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'ReceivingMaterialReport.xml', N'Receiving Material Report', N'Receiving Material Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060514115948000', N'Sale Transaction History', N'', N'', N'SaleTransactionHistoryReport.cs', N'C# File', N'[SaleTransactionHistoryReport]-[SaleTransactionHistoryReport.SaleTransactionHistoryReport]-[ExecuteReport(@CCNID, @MasLocID, @FromDate, @ToDate, @ProductIDList, @CustomerIDList, @CurrencyIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SaleTransactionHistoryReport.xml', N'Sale Transaction History', N'Sale Transaction History')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060516092014340', N'Sale Order Management Report', N'', N'', N'SaleOrderManagementReport.cs', N'C# File', N'[SaleOrderManagementReport]-[SaleOrderManagementReport.SaleOrderManagementReport]-[ExecuteReport(@CCNID, @MasLocID, @PartyIDList, @SaleOrderIDList, @ProductIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SaleOrderManagementReport.xml', N'Sale Order Management Report', N'Sale Order Management Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060605100737827', N'Attachment of Importing-Invoice', N'', N'', N'', N'SQL', N'SELECT  DISTINCT 	
	product.Revision PartModel,
	cate.Name CategoryCode,
	refDetail.CustomerItemCode PartNo,
	product.Description PartName,	
	product.QuantitySet,	
	(SELECT SUM(detail.InvoiceQty)
	 FROM SO_ConfirmShipDetail detail
	 WHERE detail.SaleOrderDetailID = soDetail.SaleOrderDetailID
	       AND detail.ConfirmShipMasterID = shipMaster.ConfirmShipMasterID
	       AND detail.ConfirmShipDetailID = shipdetail.ConfirmShipDetailID 	
	) ShippingQuantity,		
	(
	 (SELECT SUM( detail.Price * detail.InvoiceQty)
	  FROM SO_ConfirmShipDetail detail
	  WHERE detail.ConfirmShipMasterID = shipMaster.ConfirmShipMasterID
	  AND detail.ProductID = product.ProductID
	  )	
	  /
	 (
	 Case
	  When(
	     SELECT SUM(detail.InvoiceQty)
	     FROM SO_ConfirmShipDetail detail
	     WHERE detail.ConfirmShipMasterID = shipMaster.ConfirmShipMasterID
	     AND detail.ProductID = product.ProductID
	   ) = 0 
	   then 1
	   else   
  	     (
	      SELECT SUM(detail.InvoiceQty)
	      FROM SO_ConfirmShipDetail detail
	      WHERE detail.ConfirmShipMasterID = shipMaster.ConfirmShipMasterID
	      AND detail.ProductID = product.ProductID
	      )
	    end      
	 )
	) UnitPrice,
	(SELECT SUM(detail.InvoiceQty)
	 FROM SO_ConfirmShipDetail detail
	 WHERE detail.SaleOrderDetailID = soDetail.SaleOrderDetailID
	       AND detail.ConfirmShipMasterID = shipMaster.ConfirmShipMasterID
	) * shipdetail.Price NetAmount,
	shipMaster.InvoiceNo ConfirmShipNo,
	shipMaster.ReferenceNo CustomerPurchaseOrderNo
	
FROM    SO_ConfirmShipDetail shipdetail
	JOIN SO_ConfirmShipMaster shipMaster ON shipdetail.ConfirmShipMasterID = shipMaster.ConfirmShipMasterID 
	JOIN SO_SaleOrderMaster soMaster ON shipMaster.SaleOrderMasterID = soMaster.SaleOrderMasterID 
	JOIN SO_SaleOrderDetail soDetail ON shipdetail.SaleOrderDetailID = soDetail.SaleOrderDetailID 
	JOIN ITM_Product product ON product.ProductID = soDetail.ProductID
	JOIN MST_Party party ON soMaster.PartyID = party.PartyID
	LEFT JOIN ITM_Category cate ON cate.CategoryID = product.CategoryID
	LEFT JOIN SO_CustomerItemRefMaster refMaster ON refMaster.PartyID = party.PartyID
	LEFT JOIN SO_CustomerItemRefDetail refDetail ON refMaster.CustomerItemRefMasterID = refDetail.CustomerItemRefMasterID
		AND refDetail.ProductID = product.ProductID

WHERE shipMaster.ConfirmShipMasterID = @ConfirmShipMasterID
ORDER BY product.Revision,
	product.Description', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SOInvoice_Attachment.xml', N'Attachment of Importing-Invoice', N'Attachment of Importing-Invoice')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060605110907733', N'Delivery Evaluation As Items Report', N'', N'', N'DeliveryAsItemReport.cs', N'C# File', N'[DeliveryAsItemReport]-[DeliveryAsItemReport.DeliveryAsItemReport]-[ExecuteReport(@CCNID,@MakerID,@Year,@Month,@Tolerance)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'DeliveryAsItemReport.xml', N'Delivery Evaluation As Items Report', N'Delivery Evaluation As Items Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060606141610700', N'Sale Revenue Report (Classified By Customers)', N'', N'', N'SaleByCustomerReport.cs', N'C# File', N'[SaleByCustomerReport]-[SaleByCustomerReport.SaleByCustomerReport]-[ExecuteReport(@CCNID,@FromMonth,@ToMonth,@Type,@CustomerID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SaleByCustomer.xml', N'Sale Revenue Report (Classified By Customers)', N'Sale Revenue Report (Classified By Customers)')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060606173621403', N'VAT Report (Classified by Products)', N'', N'', N'VATReportClassifiedByProducts.cs', N'C# File', N'[VATReportClassifiedByProducts]-[VATReportClassifiedByProducts.VATReportClassifiedByProducts]-[ExecuteReport(@CCNID,@Year,@Month,@Code)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'VATReportClassifiedByProducts.xml', N'VAT Report (Classified by Products)', N'VAT Report (Classified by Products)')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060609100024060', N'Sale Revenue Report (Classified By Licensor)', N'', N'', N'SaleByLicensor.cs', N'C# File', N'[SaleByLicensor]-[SaleByLicensor.SaleByLicensor]-[ExecuteReport(@CCNID,@FromMonth,@ToMonth,@LicensorID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SaleByLicensor.xml', N'Sale Revenue Report (Classified By Licensor)', N'Sale Revenue Report (Classified By Licensor)')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060609152315577', N'Sale Revenue And Cost Of Goods Sold Break-down Report (Classified By Customers)', N'', N'', N'SaleByCustomerBreakDown.cs', N'C# File', N'[SaleByCustomerBreakDown]-[SaleByCustomerBreakDown.SaleByCustomerBreakDown]-[ExecuteReport(@CCNID,@FromMonth,@ToMonth,@Type,@CustomerID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SaleByCustomerBreakDown.xml', N'Sale Revenue And Cost Of Goods Sold Break-down Report (Classified By Customers)', N'Sale Revenue And Cost Of Goods Sold Break-down Report (Classified By Customers)')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060609152749950', N'Sale Revenue And Cost Of Goods Sold Break-down Report (Classified By Licensor)', N'', N'', N'SaleByLicensorBreakDown.cs', N'C# File', N'[SaleByLicensorBreakDown]-[SaleByLicensorBreakDown.SaleByLicensorBreakDown]-[ExecuteReport(@CCNID,@FromMonth,@ToMonth,@LicensorID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SaleByLicensorBreakDown.xml', N'Sale Revenue And Cost Of Goods Sold Break-down Report (Classified By Licensor)', N'Sale Revenue And Cost Of Goods Sold Break-down Report (Classified By Licensor)')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611162954140', N'Delivery Evaluation As Suppliers Report', N'', N'', N'DeliveryAsSupplier.cs', N'C# File', N'[DeliveryAsSupplier]-[DeliveryAsSupplier.DeliveryAsSupplier]-[ExecuteReport(@CCNID,@Year,@Month,@MapTarget,@Tolerance)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'DeliveryAsSupplier.xml', N'Delivery Evaluation As Suppliers Report', N'Delivery Evaluation As Suppliers Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611163303640', N'Delivery Evaluation As Month Report', N'', N'', N'DeliveryAsMonth.cs', N'C# File', N'[DeliveryAsMonth]-[DeliveryAsMonth.DeliveryAsMonth]-[ExecuteReport(@CCNID,@Year,@MapTarget,@Tolerance)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'DeliveryAsMonth.xml', N'Delivery Evaluation As Month Report', N'Delivery Evaluation As Month Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611163856153', N'Purchase Report Import Part As Item', N'', N'', N'PurchaseReportImportPartAsItem.cs', N'C# File', N'[PurchaseReportImportPartAsItem]-[PurchaseReportImportPartAsItem.PurchaseReportImportPartAsItem]-[ExecuteReport(@CCNID,@Year,@Month,@MakerID,@MapTarget,@ProductID,@CurrencyID,@ExRate)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'PurchaseReportImportPartAsItem.xml', N'Purchase Report Import Part As Item', N'Purchase Report Import Part As Item')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611164200077', N'PO Firm Order', N'', N'', N'POFirmOrder.cs', N'C# File', N'[POFirmOrder]-[POFirmOrder.POFirmOrder]-[ExecuteReport(@CCNID,@Year,@Month,@POMasterID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'POFirmOrder.xml', N'PO Firm Order', N'PO Firm Order')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611164542873', N'Purchase Report Import Part By Maker', N'', N'', N'PurchaseReportImportPartByMaker.cs', N'C# File', N'[PurchaseReportImportPartByMaker]-[PurchaseReportImportPartByMaker.PurchaseReportImportPartByMaker]-[ExecuteReport(@CCNID,@Year,@Month,@CurrencyID,@ExRate)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'PurchaseReportImportPartByMaker.xml', N'Purchase Report Import Part By Maker', N'Purchase Report Import Part By Maker')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611164724967', N'Purchase Report Import Part By Month', N'', N'', N'PurchaseReportImportPartByMonth.cs', N'C# File', N'[PurchaseReportImportPartByMonth]-[PurchaseReportImportPartByMonth.PurchaseReportImportPartByMonth]-[ExecuteReport(@CCNID,@Year,@CurrencyID,@ExRate)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'PurchaseReportImportPartByMonth.xml', N'Purchase Report Import Part By Month', N'Purchase Report Import Part By Month')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060611164829967', N'Purchasing Price Trend In Year Report', N'', N'', N'PurchasingPriceTrendInYear.cs', N'C# File', N'[PurchasingPriceTrendInYear]-[PurchasingPriceTrendInYear.PurchasingPriceTrendInYear]-[ExecuteReport(@CCNID,@Year,@ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'PurchasingPriceTrendInYear.xml', N'Purchasing Price Trend In Year Report', N'Purchasing Price Trend In Year Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060612105404390', N'Import Material Report', N'', N'', N'ImportMaterialReport.cs', N'C# File', N'[ImportMaterialReport]-[ImportMaterialReport.ImportMaterialReport]-[ExecuteReport(@CCNID, @FromDate, @ToDate, @CurrencyIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'ImportMaterialReport.xml', N'Import Material Report', N'Import Material Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060612153634123', N'Order Balance For Import Parts', N'', N'', N'OrderBalanceForImportParts.cs', N'C# File', N'[OrderBalanceForImportParts]-[OrderBalanceForImportParts.OrderBalanceForImportParts]-[ExecuteReport(@CCNID,@VendorID,@ProductID,@POMasterID,@OrderDate)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'OrderBalanceForImportParts.xml', N'Order Balance For Import Parts', N'Order Balance For Import Parts')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060613181207263', N'Stock Card Report', N'', N'', N'StockCardReport.cs', N'C# File', N'[StockCardReport]-[StockCardReport.StockCardReport]-[ExecuteReport(@CCNID, @MasLocID, @LocationIDList, @FromDate, @ToDate, @TransTypeIDList, @ProductIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'StockCardReport.xml', N'Stock Card Report', N'Stock Card Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060621175625340', N'Monthly Sale Report', N'', N'', N'MonthlySaleReport.cs', N'C# File', N'[MonthlySaleReport]-[MonthlySaleReport.MonthlySaleReport]-[ExecuteReport(@Month, @Year, @CustomerIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'MonthlySaleReport.xml', N'Monthly Sale Report', N'Monthly Sale Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060622112838983', N'Monthly Return Goods Receipt', N'', N'', N'MonthlyReturnGoodsReceipt.cs', N'C# File', N'[MonthlyReturnGoodsReceipt]-[MonthlyReturnGoodsReceipt.MonthlyReturnGoodsReceipt]-[ExecuteReport(@Month, @Year, @CustomerIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'MonthlyReturnGoodsReceipt.xml', N'Monthly Return Goods Receipt', N'Monthly Return Goods Receipt')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060712103905357', N'Local Receiving Material Report', N'', N'', N'LocalReceivingMaterialReport.cs', N'C# File', N'[LocalReceivingMaterialReport]-[LocalReceivingMaterialReport.LocalReceivingMaterialReport]-[ExecuteReport(@CCNID, @MasLocID, @FromDate, @ToDate, @CurrencyID, @ExchangeRate, @ProductIDList, @VendorIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'ReceivingMaterialReport.xml', N'Local Receiving Material Report', N'Local Receiving Material Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060916165135890', N'Tong Hop Vat Tu Nhap theo KH-Local', N'', N'', N'', N'SQL', N'select V.ProductID,I.Code as PartNo,I.Description,I.Revision,I.CategoryID,CAT.Code as Category,
I.ProductTypeID,ITM_ProductType.Code as Type,I.StockUMID,UM.Code as UM,I.VAT,
V.PartyID,PT.Code as PartyCode,
Sum(V.ReceiveQuantity)as ReceiptQty,Sum(V.ReceiveQuantity*V.UnitPrice*V.ExchangeRate) AS RCVAmount,
SUM(V.ReceiveQuantity*V.UnitPrice*V.ExchangeRate*V.VAT/100)AS VATAmount,
ISNULL((select Sum(D.Quantity)
FROM PO_ReturnToVendorDetail D
INNER JOIN PO_ReturnToVendorMaster M ON M.ReturnToVendorMasterID=D.ReturnToVendorMasterID
WHERE M.PostDate>=@FromDate and M.PostDate<=@ToDate
AND D.ProductID=V.ProductID
Group By D.ProductID),0)as ReturnQty,
ISNULL((select Sum(RD.Amount*RM.ExchangeRate)FROM cst_FreightDetail RD
INNER JOIN cst_FreightMaster RM ON RM.FreightMasterID=RD.FreightMasterID
WHERE RM.PostDate>=@FromDate and RM.PostDate<=@ToDate
AND RD.ProductID=V.ProductID
AND RM.ACPurposeID=4
GROUP BY RD.ProductID),0 )as ReturnAmount,
ISNULL((select Sum(RD.VATAmount*RM.ExchangeRate)FROM cst_FreightDetail RD
INNER JOIN cst_FreightMaster RM ON RM.FreightMasterID=RD.FreightMasterID
WHERE RM.PostDate>=@FromDate and RM.PostDate<=@ToDate
AND RD.ProductID=V.ProductID
AND RM.ACPurposeID=4
GROUP BY RD.ProductID),0 )as RT_VATAmount
from v_LocalReceive V
INNER JOIN ITM_Product I ON I.ProductID=V.ProductID
INNER JOIN ITM_Category CAT ON I.CategoryID=CAT.CategoryID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
LEFT JOIN ITM_ProductType ON ITM_ProductType.ProductTypeID=I.ProductTypeID
INNER JOIN MST_Party PT ON PT.PartyID=V.PartyID
where PostDate>=@FromDate and PostDate<=@ToDate
AND I.CategoryID in (@Category)
AND I.ProductTypeID in (@ProductType)
AND I.Revision in (@Model)
AND V.PartyID in (@Party)
AND V.ProductID IN (@Product)
Group by V.PartyID,V.ProductID,I.Code,I.Description,I.Revision,I.CategoryID,CAT.Code,
I.ProductTypeID,ITM_ProductType.Code,I.StockUMID,UM.Code,I.VAT,
PT.Code', 720, 720, 720, 720, 0, 0, 1, 8, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TongHopVatTuNhapTheoKH-Local.xml', N'Tong Hop Vat Tu Nhap theo KH-Local', N'Tong Hop Vat Tu Nhap theo KH-Local')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20060929114949327', N'Maker Delivery Plan In Month', N'', N'', N'DeliveryInMonth.cs', N'C# File', N'[DeliveryInMonth]-[DeliveryInMonth.DeliveryInMonth]-[ExecuteReport(@Year,@Month,@PartyID, @MakerID,@Category, @ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'DeliveryInMonth.xml', N'Maker Delivery Plan In Month', N'Maker Delivery Plan In Month')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061012153040513', N'In-Out Stock With Cost Report By Item', N'', N'', N'InOutStockWithCostReportByItem.cs', N'C# File', N'[InOutStockWithCostReportByItem]-[InOutStockWithCostReportByItem.InOutStockWithCostReportByItem]-[ExecuteReport(@CCNID, @Year, @Month, @LocationIDList, @CategoryIDList, @ProductIDList)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'InOutStockWithCostReportByItem.xml', N'In-Out Stock With Cost Report By Item', N'In-Out Stock With Cost Report By Item')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061109094110013', N'Production Order Report', N'', N'', N'', N'SQL', N'SELECT  W.Code as WorkCenter,OrderProduce.PRODate,S.ShiftDesc as Shift,OrderProduce.OrderNo,
I.Code as PartNo,I.Description as PartName,
I.Revision as Model,
OrderProduce.ShiftID,OrderProduce.WorkCenterID,OrderProduce.ProductID,
OrderProduce.DCOptionMasterID
FROM
(select CAST(SUBSTRING(ColumnName,0,5) AS int) AS DueYear,
CAST(SUBSTRING(ColumnName,5,2) AS int) AS DueMonth,
CAST(SUBSTRING(ColumnName,7,2) AS int) AS DueDay,
ShiftID, WorkCenterID, OrderPlan AS ProductID, DCOptionMasterID,
SUBSTRING(ColumnName,0,9)as PRODate, OrderNo
from DCP_OrderProduce) AS OrderProduce
JOIN PRO_DCPResultMaster
ON OrderProduce.ProductID = PRO_DCPResultMaster.ProductID
AND OrderProduce.DueYear = DATEPART(year,DueDateTime)
AND OrderProduce.DueMonth = DATEPART(month,DueDateTime)
AND OrderProduce.DueDay = DATEPART(day,DueDateTime)
AND OrderProduce.DCOptionMasterID = PRO_DCPResultMaster.DCOptionMasterID
AND ShiftID = MasterShiftID
JOIN MST_WorkCenter W ON OrderProduce.WorkCenterID = W.WorkCenterID
JOIN ITM_Product I ON I.ProductID=OrderProduce.ProductID
JOIN PRO_Shift S ON S.ShiftID=OrderProduce.ShiftID
WHERE OrderProduce.WorkCenterID=@workcenter
AND OrderProduce.DCOptionMasterID=@cycle
ORDER BY OrderNo', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'ProductionOrderReport.xml', N'Production Order Report', N'Production Order Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061117152107810', N'Work Order Complement', N'', N'', N'', N'SQL', N'Select DatePart(Year,W.PostDate) Year,DatePart(Month,W.PostDate) Month,
DEP.Code Department,LOC.Code Location,BIN.Code Bin,''Work Order'' as Purpose,
CAT.Code Category,CAT.CategoryID,
I.Code as PartNo,I.Revision as Model,I.Description as PartName,UM.Code as UM,
Sum(W.CompletedQuantity) as Qty,LOC.DepartmentID,
W.LocationID,W.BinID,W.PRODUCTID
from PRO_WorkOrderCompletion AS W
INNER JOIN MST_Location LOC ON LOC.LocationID=W.LocationID
LEFT JOIN MST_Department DEP ON DEP.DepartmentID=LOC.DepartmentID
INNER JOIN MST_Bin BIN ON BIN.BinID=W.BinID
INNER JOIN ITM_Product I ON I.ProductID=W.ProductID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
LEFT JOIN ITM_Category CAT ON CAT.CategoryID=I.CategoryID
Where DatePart(Year,W.PostDate)=2006
AND DatePart(Month,W.PostDate)=7
AND W.LocationID in (@location) 
and W.BinID in (@bin) 
and CAT.CategoryID in (@cat)
and W.ProductID IN (@product)
Group by DatePart(Year,W.PostDate),DatePart(Month,W.PostDate),LOC.DepartmentID,W.LocationID,W.BinID,W.ProductID,
LOC.Code,DEP.Code,BIN.Code,I.Code,I.Revision,I.Description,UM.Code,CAT.Code,CAT.CategoryID,LOC.DepartmentID
Union all
Select DatePart(Year,M.PostDate) as Year,DatePart(Month,M.PostDate) as Month,
DEP.Code as Department,LOC.Code as Location,BIN.Code as Bin,''POReceipt'' as Purpose,
CAT.Code as Category,CAT.CategoryID,
I.Code as PartNo,I.Revision as Model,I.Description as PartName,UM.Code as UM,
Sum(D.ReceiveQuantity) 
-ISNULL((select Sum(ISNULL(Quantity,0)) from PO_ReturnToVendorDetail RD
INNER JOIN PO_ReturnToVendorMaster AS RM ON RM.ReturnToVendorMasterID=RD.ReturnToVendorMasterID
WHERE RD.ProductID=D.ProductID
and RD.LocationID=D.LocationID 
AND RD.BinID=D.BinID 
AND DatePart(Year,RM.PostDate)=2006
AND DatePart(Month,RM.PostDate)=7),0)
as Qty,LOC.DepartmentID,
D.LocationID,D.BinID,D.ProductID
From PO_PurchaseOrderReceiptDetail D
INNER JOIN PO_PurchaseOrderReceiptMaster M ON M.PurchaseOrderReceiptID=D.PurchaseOrderReceiptID
INNER JOIN MST_Location LOC ON LOC.LocationID=D.LocationID
LEFT JOIN MST_Department DEP ON DEP.DepartmentID=LOC.DepartmentID
INNER JOIN MST_Bin BIN ON BIN.BinID=D.BinID
INNER JOIN ITM_Product I ON I.ProductID=D.ProductID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
LEFT JOIN ITM_Category CAT ON CAT.CategoryID=I.CategoryID
Where DatePart(Year,M.PostDate)=2006
AND DatePart(Month,M.PostDate)=7
AND D.LocationID in (@location) 
and D.BinID in (@bin) 
and CAT.CategoryID in (@cat) 
and D.ProductID IN (@product)
Group by DatePart(Year,M.PostDate),DatePart(Month,M.PostDate),DEP.Code,D.LocationID,D.BinID,D.ProductID,
LOC.Code,BIN.Code,CAT.Code,I.Code,
I.Revision,I.Description,UM.Code,CAT.CategoryID,LOC.DepartmentID', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'WorkOrderComplement.xml', N'Work Order Complement', N'Work Order Complement')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061124143451733', N'In Out Stock With Cost Classified by CCN', N'', N'', N'InOutStockWithCostReportByCCN.cs', N'C# File', N'[InOutStockWithCostReportByCCN]-[InOutStockWithCostReportByCCN.InOutStockWithCostReportByCCN]-[ExecuteReport(@Year,@Month,@Category, @ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'InOutReportWithCost.xml', N'In Out Stock With Cost Classified by CCN', N'In Out Stock With Cost Classified by CCN')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061205103013000', N'Tong Hop Vat Tu Nhap Theo KH- Import- Group By Vendor', N'', N'', N'', N'SQL', N'Select Year,Month,PartNo,Model,PartName,Category,Type,VendorCode,VendorName,
MakerCode,MakerName,Sum(IsNULL(Quantity,0)) as Quantity,
Sum(IsNULL(TotalCIF,0)) as TotalCIF,Sum(IsNULL(TotalInland,0)) AS TotalInland,
Sum(IsNULL(CIPAmount,0)) as CIPAmount,Sum(IsNULL(ImportTaxAmount,0)) ImportTaxAmount,
Sum(IsNULL(OrtherAmount,0)) OrtherAmount,UM from v_POReceiptImport
Where Year=@year and Month=@month
Group by Year,Month,VendorCode,MakerCode,PartNo,PartName,Model,Category,Type,
VendorName,MakerName,UM', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TongHopVatTuNhapTheoKH-Import-ByVendor.xml', N'Tong Hop Vat Tu Nhap Theo KH- Import- Group By Vendor', N'Tong Hop Vat Tu Nhap Theo KH- Import- Group By Vendor')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061205111008657', N'Tong Hop Vat Tu Nhap Theo KH- Import- Group By Maker', N'', N'', N'', N'SQL', N'Select Year,Month,PartNo,Model,PartName,Category,Type,VendorCode,VendorName,
MakerCode,MakerName,Sum(IsNULL(Quantity,0))as Quantity,
Sum(IsNULL(TotalCIF,0))as TotalCIF,Sum(IsNULL(TotalInland,0))AS TotalInland,
Sum(IsNULL(CIPAmount,0))as CIPAmount,Sum(IsNULL(ImportTaxAmount,0))ImportTaxAmount,
Sum(IsNULL(OrtherAmount,0))OrtherAmount,UM from v_POReceiptImport
Where Year=@year and Month=@month
Group by Year,Month,MakerCode,VendorCode,PartNo,PartName,Model,Category,Type,
VendorName,MakerName,UM', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TongHopVatTuNhapTheoKH-Import-ByMaker.xml', N'Tong Hop Vat Tu Nhap Theo KH- Import- Group By Maker', N'Tong Hop Vat Tu Nhap Theo KH- Import- Group By Maker')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061205125657280', N'Tong Hop Vat Tu Nhap Theo Nha Thau', N'', N'', N'', N'SQL', N'Select Year,Month,InventorID,P.Code as Inventor,PartNo,Model,PartName,Category,v_POReceiptImport.Type,
Sum(IsNULL(Quantity,0))as Quantity,
Sum(IsNULL(TotalCIF,0))as TotalCIF,Sum(IsNULL(TotalInland,0))AS TotalInland,
Sum(IsNULL(CIPAmount,0))as CIPAmount,Sum(IsNULL(ImportTaxAmount,0))ImportTaxAmount,
Sum(IsNULL(OrtherAmount,0))OrtherAmount,UM from v_POReceiptImport
LEFT JOIN MST_Party P ON P.PartyID=v_POReceiptImport.InventorID
Where Year=@year and Month=@month
Group by Year,Month,InventorID,P.code,PartNo,PartName,Model,Category,v_POReceiptImport.Type,UM', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'Arial Narrow|12|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6.5|Bold|1|False|Point', N'Arial Narrow|6|Bold|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', N'Arial Narrow|6|Regular|1|False|Point', 0, N'', N'Tong Hop Vat Tu Nhap Theo Nha Thau', N'Tong Hop Vat Tu Nhap Theo Nha Thau')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061228090721280', N'Supervise Report', N'Báo cáo giám sát ki?m kê', N'', N'SuperviseReport.cs', N'C# File', N'[SuperviseReport]-[SuperviseReport.SuperviseReport]-[ExecuteReport(@PeriodID, @MasterLocation, @Location, @Bin)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SuperviseReport.xml', N'Supervise Report', N'Supervise Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20061228145550153', N'Stock Taking Comparision Report', N'', N'', N'', N'SQL', N'SELECT A.* FROM (SELECT STP.FromDate, STP.Description StockTakingPeriod, STP.StockTakingPeriodID, Def.DepartmentID, Def.Code Def, PL.ProductionLineID, PL.Code ProductionLine, ST.LocationID, Loc.Code Location,
ST.BinID, Bin.Code Bin, I.ProductID, I.Code PartNo, I.Revision Model, I.Description PartName, CAT.CategoryID,
CAT.Code Category, (ST.OHQuantity + ISNULL(HistoryQuantity,0)) OnHandQty, (ST.ActualQuantity + ISNULL(HistoryQuantity,0)) ActualQty, UM.Code UM, SO.Code Source,
ISNULL((Case
When
(Select UnitCost from v_UnitOfActualCost WHERE ProductID=ST.ProductID
AND DatePart(Year,FromDate)=(Select DatePart(Year,FromDate) from IV_StockTakingPeriod where StockTakingPeriodID=@period )
AND DatePart(Month,FromDate)=(Select DatePart(Month,FromDate) from IV_StockTakingPeriod where StockTakingPeriodID= @period )) 
Is NOT NULL Then
(Select UnitCost from v_UnitOfActualCost WHERE ProductID=ST.ProductID
AND DatePart(Year,FromDate)=(Select DatePart(Year,FromDate) from IV_StockTakingPeriod where StockTakingPeriodID= @period )
AND DatePart(Month,FromDate)=(Select DatePart(Month,FromDate) from IV_StockTakingPeriod where StockTakingPeriodID= @period )) 
Else
ISNULL((SELECT SUM(Cost)  	    
	FROM CST_STDItemCost   	    
	WHERE ProductID = ST.ProductID),0)	End),0) as Cost
from IV_StockTakingDifferent AS ST
INNER JOIN ITM_Product I ON I.ProductID=ST.ProductID
INNER JOIN MST_Location Loc on Loc.LocationID=ST.LocationID
INNER JOIN MST_Bin Bin on Bin.BinID=ST.BinID
LEFT JOIN ITM_Category CAT on CAT.CategoryID=I.CategoryID
LEFT JOIN PRO_ProductionLine PL on PL.LocationID=Loc.LocationID
INNER JOIN MST_Department DEF ON DEF.DepartmentID=PL.DepartmentID 
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
LEFT JOIN ITM_Source SO ON SO.SourceID=I.SourceID
JOIN IV_StockTakingPeriod STP ON ST.StockTakingPeriodID = STP.StockTakingPeriodID
AND ST.StockTakingPeriodID = @period 
) A
WHERE (A.ActualQty <> 0 OR A.OnHandQty <> 0)
AND A.DepartmentID IN (@def)
AND A.ProductionLineID in (@pl)
AND A.LocationID in (@loc)
AND A.BinID in (@bin)
AND A.ProductID in (@product)
AND A.CategoryID in (@cat)', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'StockTakingReport.xml', N'Báo cáo so sánh kiểm kê', N'Stock Taking Comparision Report')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20070117145950090', N'Bao Cao Dinh Muc', N'', N'', N'BaoCaoDinhMuc.cs', N'C# File', N'[BaoCaoDinhMuc]-[BaoCaoDinhMuc.BaoCaoDinhMuc]-[ExecuteReport(@ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoDinhMuc.xml', N'Báo cáo Định Mức', N'Bao Cao Dinh Muc')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20071128153038553', N'Tổng hợp lương tháng (cho Xí nghiệp)', N'', N'', N'', N'SQL', N'Select getdate() ServerDate, SOD.Fgoodscode, SOD.WOQuantity qty, M.ProductionLineID,
SUM(D.ApprovalAmount) Payment, DATEPART(year, TransDate)years, DATEPART(month, TransDate) months,
(SELECT Amount FROM PAY_EstimateDetail ED JOIN PAY_EstimateMaster EM
ON ED.EstimateMasterid = EM.EstimateMasterid
WHERE ED.ProductionLineID = M.ProductionLineID
AND EM.SaleOrderDetailID = M.SaleOrderDetailID) Amount,
ISNULL((Select Sum(ApprovalAmount) from PAY_AdditionSalaryDetail AD
INNER JOIN PAY_AdditionSalaryMaster AM ON AM.AdditionSalaryMasterID=AD.AdditionSalaryMasterID
WHERE DATEPART(year, M.TransDate)=DATEPART(year, AM.PostDate)
AND DATEPART(Month, M.TransDate)=DATEPART(Month, AM.PostDate)
AND Am.ProductionLineID = M.ProductionLineID
AND AM.SaleOrderDetailID = M.SaleOrderDetailID ),0)Addition,
I.Code PartNo, I.Description PartName
FROM PAY_PaymentRequestDetail D 
JOIN PAY_PaymentRequestMaster M
ON D.PaymentRequestMasterID = M.PaymentRequestMasterID
INNER JOIN SO_SaleOrderDetail SOD ON SOD.SaleorderdetailID=M.SaleorderdetailID
INNER JOIN ITM_Product I ON I.ProductID=SOD.ProductID
WHERE DATEPART(year, TransDate)=@year 
And DATEPART(month, TransDate)=@month
And M.ProductionLineID=@PL
GROUP BY M.SaleOrderDetailID, SOD.Fgoodscode, SOD.WOQuantity, M.ProductionLineID,
DATEPART(year, TransDate), DATEPART(month, TransDate), I.Code, I.Description', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TongHopLuongThang.xml', N'Tổng hợp lương tháng (cho Xí nghiệp)', N'Tổng hợp lương tháng (cho Xí nghiệp)')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20071128162716380', N'Báo cáo tổng lương toàn nhà máy', N'', N'', N'', N'SQL', N'Select   PLine.Name PLCode,
DATEPART(year, TransDate)years, DATEPART(month, TransDate) months,
SUM(D.ApprovalAmount) Amount,
ISNULL((Select Sum(ApprovalAmount) from PAY_AdditionSalaryDetail AD
INNER JOIN PAY_AdditionSalaryMaster AM ON AM.AdditionSalaryMasterID=AD.AdditionSalaryMasterID
WHERE DATEPART(year, M.TransDate)=DATEPART(year, AM.PostDate)
AND DATEPART(Month, M.TransDate)=DATEPART(Month, AM.PostDate)
AND Am.ProductionLineID = M.ProductionLineID),0) Addition
FROM PAY_PaymentRequestDetail D 
JOIN PAY_PaymentRequestMaster M
ON D.PaymentRequestMasterID = M.PaymentRequestMasterID
INNER JOIN PRO_ProductionLine PLine ON PLine.ProductionLineID=m.ProductionLineID
WHERE DATEPART(year, TransDate)=@year 
And DATEPART(month, TransDate)=@month
And M.ProductionLineID=@PL
GROUP BY DATEPART(year, TransDate), DATEPART(month, TransDate),M.ProductionLineID,PLine.Name', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoTongLuong.xml', N'Báo cáo tổng lương toàn nhà máy', N'Báo cáo tổng lương toàn nhà máy')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20071205111743423', N'Raw-Material List', N'', N'', N'BangKeChiTietVatLieuChinh.cs', N'C# File', N'[BangKeChiTietVatLieuChinh]-[BangKeChiTietVatLieuChinh.BangKeChiTietVatLieuChinh]-[ExecuteReport(@SaleOrderDetailID,@ProductionLineID, @Fullname)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BangKeChiTietVatLieuChinh.xml', N'Bảng kê chi tiết vật liệu chính', N'Raw-Material List')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20071205160714517', N'Báo cáo dự báo yêu cầu sản xuất', N'', N'', N'', N'SQL', N'select MSO.Code SONo,FGoodsCode, SO.ProductID, P.Code Masp, P.Description TenSP,SO.OrderQuantity, SO.WOQuantity,  
ISNULL((select SUM(OHQuantity) from IV_BinCache BC
left JOIN MST_Bin MSTBin on MSTBin.BinID=BC.BinID
where ProductID=SO.ProductID AND MSTBin.BinTypeID=1),0)OHQuantity,
ISNULL((select Sum(OrderQuantity) from PRO_WorkOrderDetail
where ProductID=SO.ProductID AND Status=2),0) WOReleasedQty
from SO_SaleorderDetail SO
INNER JOIN SO_SaleorderMaster MSO ON MSO.SaleOrderMasterID=SO.SaleOrderMasterID
INNER JOIN ITM_Product P ON P.ProductID=SO.ProductID
Where SO.ProductID in @product', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'DuBaoYeuCauSanXuat_VN.xml', N'Báo cáo dự báo yêu cầu sản xuất', N'Báo cáo dự báo yêu cầu sản xuất')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20071213143211780', N'Production Progress by F.Goods Code', N'', N'', N'TienDoSanXuatMaHang.cs', N'C# File', N'[TienDoSanXuatMaHang]-[TienDoSanXuatMaHang.TienDoSanXuatMaHang]-[ExecuteReport(@SaleOrderDetailID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TienDoSanXuatMaHang.xml', N'Báo cáo tiến độ sản xuất theo mã hàng', N'Production Progress by F.Goods Code')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20071213143343577', N'Production Progress by Production Line', N'', N'', N'TienDoSanXuatXiNghiep.cs', N'C# File', N'[TienDoSanXuatXiNghiep]-[TienDoSanXuatXiNghiep.TienDoSanXuatXiNghiep]-[ExecuteReport(@SaleOrderDetailID, @ProductionLineID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TienDoSanXuatXiNghiep.xml', N'Báo cáo tiến độ sản xuất theo xí nghiệp', N'Production Progress by Production Line')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080103134026600', N'Báo cáo định mức sản xuất', N'', N'', N'', N'SQL', N'select Left(I.Code,len(I.code)-1-len(WC.Code))Machitiet, I.Description Tenchitiet,(WD.OrderQuantity) Qty,ISNULL(WD.Group1,'''') Group1,
ISNULL(WD.Group2, '''') Group2, I1.Description+''/ ''+ I1.Code sp,SO.WOQuantity slg,
SUM(CASE WC.Code WHEN ''TL'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS TL,
SUM(CASE WC.Code WHEN ''HAN'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS HAN,
SUM(CASE WC.Code WHEN ''LR'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS LR,
SUM(CASE WC.Code WHEN ''CAT'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS CAT,
SUM(CASE WC.Code WHEN ''TIEN'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS TIEN,
SUM(CASE WC.Code WHEN ''KHOAN'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS KHOAN,
SUM(CASE WC.Code WHEN ''MIET'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS MIET,
SUM(CASE WC.Code WHEN ''GO'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS GO,
SUM(CASE WC.Code WHEN ''CUON'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS CUON,
SUM(CASE WC.Code WHEN ''PB'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS PB,
SUM(CASE WC.Code WHEN ''CUA'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS CUA,
SUM(CASE WC.Code WHEN ''DUC'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS DUC,
SUM(CASE WC.Code WHEN ''LVT'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS LVT,
SUM(CASE WC.Code WHEN ''VCN'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS VCNB,
SUM(CASE WC.Code WHEN ''HTD'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS HTD,
SUM(CASE WC.Code WHEN ''SON'' THEN WR.LaborRuntime* WD.OrderQuantity ELSE NULL END) AS SON
from PRO_WORouting WR
INNER JOIN PRO_WorkOrderDetail WD ON WD.WorkOrderDetailID=WR.WorkOrderDetailID
INNER JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=WD.SaleOrderDetailID
INNER JOIN ITM_Product I ON I.PRoductID=WR.ProductID
INNER JOIN MST_WorkCenter WC ON WC.WorkCenterID=WR.WorkCenterID
INNER JOIN ITM_Product I1 ON I1.PRODUCTID=SO.PRODUCTID
Where 
WR.LaborRuntime<>0
And WD.SaleOrderDetailID=@SO
And wd.ProductionLineID=@PL
Group by Left(I.Code,len(I.code)-1-len(WC.Code)),I.Description ,WD.OrderQuantity,I1.CODE,I1.Description,
ISNULL(WD.Group1,''''),ISNULL(WD.Group2, ''''),SO.WOQuantity', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoDinhMucsx.xml', N'Báo cáo định mức sản xuất', N'Báo cáo định mức sản xuất')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080103151906850', N'Bảng kê vật liệu phụ', N'', N'', N'', N'SQL', N'select I1.Code,i1.description,UM.Code StockCode,ComponentID, Quantity*WOD.OrderQuantity Quantity,Quantity*WOD.OrderQuantity*I1.Rate Weight ,
SOD.FGoodsCode, P.Code TenSP, PL.Name TenXN, SOD.OrderQuantity Slg
from PRO_WOBom WOBOM
JOIN PRO_WorkOrderDetail WOD ON WOD.WorkOrderDetailID=WOBOM.WorkOrderDetailID
JOIN ITM_Product i on I.ProductID=WOD.ProductID
JOIN ITM_Product I1 on I1.ProductID=WOBOM.ComponentID
JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureid=i1.StockUMID
JOIN SO_SaleOrderDetail SOD ON WOD.SaleOrderDetailID = SOD.SaleOrderDetailID
JOIN ITM_Product P ON SOD.ProductID = P.ProductID
JOIN PRO_ProductionLine PL ON WOD.ProductionLineID = PL.ProductionLineID
WHERE I.ProductTypeID IN (3,4)
AND WOD.ProductionLineID=@PL
And WOD.SaleOrderDetailID=@fg', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Bangkechitietvatlieuphu.xml', N'Bảng kê vật liệu phụ', N'Bảng kê vật liệu phụ')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080110142904590', N'General Material Forecast', N'', N'', N'BaoCaoDuTru.cs', N'C# File', N'[BaoCaoDuTru]-[BaoCaoDuTru.BaoCaoDuTru]-[ExecuteReport(@FGoodsCode, @ProductionLineID, @Fullname)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoDuTru.xml', N'Dự trù vật tư tổng hợp', N'General Material Forecast')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080115111252653', N'Tổng hợp vật tư nhập theo tháng', N'', N'', N'', N'SQL', N'Declare @fdate1 datetime,@tdate1 datetime
set @fdate1=@fdate 
set @tdate1=@tdate
Select @fdate1 fdate,@tdate1 tdate, getdate() ServerDate, I.Code PartNo,i.description PartName,UM.Code um,Sum(isNULL(d.ReceiveQuantity,0)) qty,Sum(isNULL(IND.CIFAmount,0)*isNULL(INM.ExchangeRate,0)) Amount,
sum(IND.VATAmount*INM.ExchangeRate) VATAmount from PO_PurchaseOrderReceiptDetail D
INNER JOIN PO_PurchaseOrderReceiptMaster m on m.PurchaseOrderReceiptID=D.PurchaseOrderReceiptID
INNER JOIN PO_InvoiceDetail IND ON IND.InvoiceDetailID=D.InvoiceDetailID
INNER JOIN PO_InvoiceMaster INM ON INM.InvoiceMasterID=IND.InvoiceMasterID
INNER JOIN MST_Party PT ON PT.PartyID=INM.PartyID
INNER JOIN ITM_Product i on i.productid=d.productid
INNER JOIN MST_UnitOfMeasure um on um.UnitOfMeasureID=I.StockUMID
where M.PostDate>=@fdate and m.PostDate<=@tdate
Group by I.Code,i.description,um.code', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Tonghopvtnhap.xml', N'Tổng hợp vật tư nhập theo tháng', N'Tổng hợp vật tư nhập theo tháng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080121153823863', N'Báo cáo kiểm kê', N'', N'', N'', N'SQL', N'SELECT SP.Description StockTakingPeriod, Loc.Code Location,Bin.Code Bin, I.Code PartNo,I.Description PartName,I.Description Model,CAT.Code Category,
UM.Code UM,SUM(SD.Quantity) ActualQty, ISNULL(bb.OHQuantity,0)
- ISNULL((SELECT SUM(AdjustQuantity) FROM dbo.IV_Adjustment
WHERE StockTakingPeriodID=SP.StockTakingPeriodID 
AND LocationID=bb.LocationID AND BinID=BB.BinID AND ProductID=BB.ProductID),0)
OnHandQty,SUM(sd.BadQuantity) BadQuantity,
SUM(sd.QuantityOver3Year) QuantityOver3Year, GETDATE() ServerDate
FROM dbo.IV_StockTaking SD
INNER JOIN dbo.IV_StockTakingMaster SM ON SD.StockTakingMasterID = SM.StockTakingMasterID
INNER JOIN dbo.IV_StockTakingPeriod SP ON SM.StockTakingPeriodID = SP.StockTakingPeriodID
INNER JOIN dbo.Sys_Period WORKING ON WORKING.PeriodID=SP.PeriodID
LEFT JOIN dbo.IV_BalanceBin BB ON BB.BINID=SM.BinID AND SD.ProductID=BB.ProductID
AND WORKING.FromDate=BB.EffectDate
INNER JOIN MST_Location LOC ON LOC.LocationID=SM.LocationID
INNER JOIN dbo.MST_BIN BIN ON BIN.BinID=SM.BinID
INNER JOIN ITM_PRODUCT I ON I.ProductID=SD.ProductID
LEFT JOIN dbo.ITM_Category CAT ON CAT.CategoryID=I.CategoryID
INNER JOIN dbo.MST_UnitOfMeasure UM ON I.StockUMID=UM.UnitOfMeasureID
WHERE SP.StockTakingPeriodID=@kk AND SM.LocationID=@loc
GROUP BY SP.StockTakingPeriodID,SP.Description,BB.LocationID,Loc.Code ,BB.BinID,Bin.Code ,
BB.ProductID, I.Code ,I.Description ,I.Description ,
UM.Code ,CAT.Code,bb.OHQuantity', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoKiemKe.xml', N'Báo cáo kiểm kê', N'Báo cáo kiểm kê')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080214144318077', N'Doanh Thu Bán hàng', N'', N'', N'', N'SQL', N'SELECT FGoodsCode, SaleOrderDetailID, Tennguoimua, ProductID,
	   SL, DT, VATAmount, SHD, TenCty, MaSP, TenSP, ShippedDate,
	   sYear, sMonth FROM (SELECT SOD.FGoodsCode,SCS.SaleOrderDetailID,CS.Contact Tennguoimua,SCS.ProductID,SUM(SCS.InvoiceQty) SL, 
SUM(SCS.InvoiceQty*SCS.Price) DT,SUM(isNULL(SOD.VATPercent,0)*SCS.Price*SCS.InvoiceQty/100) VATAmount,
SOM.Code SHD,PT.Name TenCty,i.Code MaSP,i.description TenSP, SCSM.ShippedDate,
DatePart(Year, SCSM.ShippedDate) sYear, DatePart(month,SCSM.ShippedDate) sMonth
FROM SO_ConfirmShipDetail SCS 
INNER JOIN dbo.SO_ConfirmShipMaster SCSM ON SCSM.ConfirmShipMasterID=SCS.ConfirmShipMasterID
INNER JOIN dbo.SO_SaleOrderDetail SOD ON SCS.SaleOrderDetailID = SOD.SaleOrderDetailID
INNER JOIN dbo.SO_CommitInventoryMaster CS ON SOD.SaleOrderMasterID = CS.SaleOrderMasterID
INNER JOIN SO_CommitInventoryDetail CD ON CS.CommitInventoryMasterID = CD.CommitInventoryMasterID
AND CD.DeliveryScheduleID = SCS.DeliveryScheduleID
INNER JOIN dbo.SO_SaleOrderMaster SOM ON SOM.SaleOrderMasterID=SOD.SaleOrderMasterID
INNER JOIN MST_Party PT ON PT.PartyID=SOM.PartyID
INNER JOIN ITM_Product I ON I.ProductID=SCS.ProductID
GROUP BY SCS.SaleOrderDetailID,SOD.FGoodsCode,CS.Contact,
SCSM.ShippedDate,SCS.ProductID,i.Code ,i.description,SOM.Code,PT.NAME)
A
WHERE sYear = @year
And  sMonth = @month', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SO_DoanhThuBanHang.xml', N'Doanh Thu Bán hàng', N'Doanh Thu Bán hàng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080214151532310', N'Hoá Đơn Xuất Nội Bộ', N'', N'', N'', N'SQL', N'SELECT i.Code MaSP,CM.ShippedDate ,i.Description TenSP,
(ISNULL(CD.InvoiceQty,0)*ISNULL(CD.Price,0)) DT,ISNULL(CD.InvoiceQty,0) SL,CommitM.Contact Tennguoimua,
CD.InvoiceQty*CD.Price*CD.VATPercent/100 VATAmount,
PT.Name TenCty,SOM.Code SHD,SOM.TransDate,getdate()ServerDate 
FROM dbo.SO_ConfirmShipDetail CD
INNER JOIN dbo.ITM_Product I ON CD.ProductID = I.ProductID
INNER JOIN dbo.SO_ConfirmShipMaster CM ON CM.ConfirmShipMasterID=CD.ConfirmShipMasterID
INNER JOIN dbo.SO_SaleOrderMaster SOM ON SOM.SaleOrderMasterID=CM.SaleOrderMasterID
INNER JOIN dbo.SO_SaleOrderDetail SOD ON CD.SaleOrderDetailID=SOD.SaleOrderDetailID
INNER JOIN dbo.SO_CommitInventoryDetail CommitD ON CommitD.DeliveryScheduleID=CD.DeliveryScheduleID
INNER JOIN dbo.SO_CommitInventoryMaster CommitM ON CommitD.CommitInventoryMasterID = CommitM.CommitInventoryMasterID
INNER JOIN dbo.MST_Party PT ON SOM.PartyID=PT.PartyID
INNER JOIN SO_SaleType SOType ON SOType.SaleTypeID=SOM.SaleTypeID
WHERE  SOType.Code=''VCNB''
AND DatePart(month,CM.ShippedDate)=@month
And DatePart(Year, CM.ShippedDate)=@year', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SO_HoaDonXuatNoiBo.xml', N'Hoá Đơn Xuất Nội Bộ', N'Hoá Đơn Xuất Nội Bộ')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080219142325513', N'Báo Cáo Nồi Hơi Xuất Bán Trong Tháng', N'', N'', N'', N'SQL', N'SELECT i.Code kyhieu,CM.ShippedDate DeliveryDate,i.Description tensp,SOD.OrderQuantity OrderQty,

ISNULL(SOD.WOQuantity,0) SLMo,ISNULL(CD.InvoiceQty,0) SLthucxuat,CommitM.Contact Tennguoimua,

PT.Name TenCty,SOM.Code SHD,SOM.TransDate,getdate()ServerDate 

FROM dbo.SO_ConfirmShipDetail CD

INNER JOIN dbo.ITM_Product I ON CD.ProductID = I.ProductID

INNER JOIN dbo.SO_ConfirmShipMaster CM ON CM.ConfirmShipMasterID=CD.ConfirmShipMasterID

INNER JOIN dbo.SO_SaleOrderMaster SOM ON SOM.SaleOrderMasterID=CM.SaleOrderMasterID

INNER JOIN dbo.SO_SaleOrderDetail SOD ON CD.SaleOrderDetailID=SOD.SaleOrderDetailID

INNER JOIN dbo.SO_CommitInventoryDetail CommitD ON CommitD.DeliveryScheduleID=CD.DeliveryScheduleID

INNER JOIN dbo.SO_CommitInventoryMaster CommitM ON CommitD.CommitInventoryMasterID = CommitM.CommitInventoryMasterID

INNER JOIN dbo.MST_Party PT ON SOM.PartyID=PT.PartyID

WHERE 

(i.Description LIKE N''Lò hơi%''

OR

i.Description LIKE N''Nồi hơi%'')

And DatePart(month,CM.ShippedDate)=@month

And DatePart(Year, CM.ShippedDate)=@year', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SO_NoiHoiXuatBan.xml', N'Báo Cáo Nồi Hơi Xuất Bán Trong Tháng', N'Báo Cáo Nồi Hơi Xuất Bán Trong Tháng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080226120046917', N'Báo cáo kiểm tra chất lượng vật tư mua', N'', N'', N'', N'SQL', N'Select POM.InvoiceNo,i.Code PartNo,i.description PartName,UM.Code UM,InvoiceQuantity InvoiceQty,NGQuantity NGQty,PT.Name PartyName,getdate() ServerDate,
ISNULL((Select Sum(Quantity) from IV_MiscellaneousIssueDetail D 
INNER JOIN IV_MiscellaneousIssueMaster M ON M.MiscellaneousIssueMasterID=D.MiscellaneousIssueMasterID
WHERE ProductID=POD.ProductID AND InvoiceMasterID=POD.InvoiceMasterID
AND IssuePurposeID=14),0)DSQty,
ISNULL((Select Sum(ReceiveQuantity) from PO_PurchaseOrderReceiptDetail D
INNER JOIN PO_PurchaseOrderReceiptMaster M ON M.PurchaseOrderReceiptID=D.PurchaseOrderReceiptID
WHERE D.InvoiceDetailID=POD.InvoiceDetailID),0)ReceiptQty,
(Case POD.QAStatus 
when 2 then N''Không đạt''
when 3 then N''Đạt''
else N''Chưa kiểm tra''
End)QAStatus
from PO_InvoiceDetail POD
INNER JOIN PO_InvoiceMaster POM ON POM.InvoiceMasterID=POD.InvoiceMasterID
INNER JOIN MST_Party PT ON PT.PartyID=POM.PartyID
INNER JOIN ITM_Product I ON I.ProductID=POD.ProductID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
Where POM.InvoiceMasterID in (@invoice)', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoKiemTraChatLuongVT.xml', N'Báo cáo kiểm tra chất lượng vật tư mua', N'Báo cáo kiểm tra chất lượng vật tư mua')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080226161701603', N'Báo cáo kiểm tra chất lượng sản phẩm hoàn thành', N'', N'', N'', N'SQL', N'Select P.Description Product, I.Code PartNo,I.Description PartName,Sum(WC.CompletedQuantity)CompletedQty,Sum(WC.NGQuantity)NGQty,SOD.FgoodsCode,
ISNULL((Select Sum(Quantity) From IV_MiscellaneousIssueDetail D
INNER JOIN IV_MiscellaneousIssueMaster M ON M.MiscellaneousIssueMasterID=D.MiscellaneousIssueMasterID
WHERE M.SaleOrderDetailID=WD.SaleOrderDetailID
and IssuePurposeID=14 and D.Productid=WC.ProductID),0)DSQty,UM.Code UM,
(Case WC.QAStatus
when 1 then N''Chưa kiểm tra''
when 2 then N''Không đạt''
when 3 then N''Đạt''
End)QAStatus,
(Case WC.QAStatus
when 1 then 0
Else Sum(WC.CompletedQuantity)
End) ReceiptQty, getdate() ServerDate, WC.KCSUser
from PRO_WorkOrderCompletion WC
INNER JOIN PRO_WorkOrderDetail WD ON WD.WorkOrderDetailID=WC.WorkOrderDetailID
INNER JOIN SO_SaleOrderDetail SOD ON SOD.SaleOrderDetailID=WD.SaleOrderDetailID
INNER JOIN ITM_Product i on i.ProductID=WC.ProductID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
INNER JOIN ITM_Product P ON P.ProductID = SOD.ProductID
where I.QAstatus=1
And WD.SaleOrderDetailID in (@fg)
Group by P.Description, WD.SaleOrderDetailID,SOD.FgoodsCode,WC.ProductID,i.code,i.description,UM.Code,WC.QAStatus, WC.KCSUser', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoKiemTraChatLuongChiTietCheTaoTheoMaHang.xml', N'Báo cáo kiểm tra chất lượng sản phẩm hoàn thành', N'Báo cáo kiểm tra chất lượng sản phẩm hoàn thành')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080313125016687', N'Báo cáo định mức sản xuất_Test', N'', N'', N'', N'SQL', N'select Left(I.Code,len(I.code)-1-len(WC.Code))Machitiet, I.Description Tenchitiet,(WD.OrderQuantity)/SO.OrderQuantity Qty,ISNULL(WD.Group1,'''') Group1,
ISNULL(WD.Group2, '''') Group2,
SUM(CASE WC.Code WHEN ''TL'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS TL,
SUM(CASE WC.Code WHEN ''HAN'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS HAN,
SUM(CASE WC.Code WHEN ''LR'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS LR,
SUM(CASE WC.Code WHEN ''CAT'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS CAT,
SUM(CASE WC.Code WHEN ''TIEN'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS TIEN,
SUM(CASE WC.Code WHEN ''KHOAN'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS KHOAN,
SUM(CASE WC.Code WHEN ''MIET'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS MIET,
SUM(CASE WC.Code WHEN ''GO'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS GO,
SUM(CASE WC.Code WHEN ''CUON'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS CUON,
SUM(CASE WC.Code WHEN ''PB'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS PB,
SUM(CASE WC.Code WHEN ''CUA'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS CUA,
SUM(CASE WC.Code WHEN ''DUC'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS DUC,
SUM(CASE WC.Code WHEN ''LVT'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS LVT,
SUM(CASE WC.Code WHEN ''VCN'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS VCNB,
SUM(CASE WC.Code WHEN ''HTD'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS HTD,
SUM(CASE WC.Code WHEN ''SON'' THEN WR.LaborRuntime* WD.OrderQuantity/SO.OrderQuantity ELSE NULL END) AS SON
from PRO_WORouting WR
INNER JOIN PRO_WorkOrderDetail WD ON WD.WorkOrderDetailID=WR.WorkOrderDetailID
INNER JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=WD.SaleOrderDetailID
INNER JOIN ITM_Product I ON I.PRoductID=WR.ProductID
INNER JOIN MST_WorkCenter WC ON WC.WorkCenterID=WR.WorkCenterID
Where 
WR.LaborRuntime<>0
And WD.SaleOrderDetailID=@SO
And wd.ProductionLineID=@PL
Group by Left(I.Code,len(I.code)-1-len(WC.Code)),I.Description ,WD.OrderQuantity/SO.OrderQuantity,
ISNULL(WD.Group1,''''),ISNULL(WD.Group2, '''')', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoDinhMucsx.xml', N'Báo cáo định mức sản xuất_Test', N'Báo cáo định mức sản xuất_Test')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080319131635030', N'Thẻ Kho', N'', N'', N'', N'SQL', N'Select PostDate,InNo,OutNo,x.LocID,x.BinID,x.ProductID,InQty,OutQty,Comment, BeginStock,
GetDate() ServerDate,UM.Code UM ,SO.FgoodsCode 
from v_thekho x
Left join IV_BalanceBin Bin ON BIN.ProductID=x.productID AND BIN.BinID=X.BinID 
AND Datepart(year,x.PostDate)=Datepart(year,DateAdd(Month,+1,Bin.EffectDate))
AND Datepart(month,x.PostDate)=Datepart(month,DateAdd(Month,+1,Bin.EffectDate))
INNER JOIN itm_product i on i.ProductID=X.ProductID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureid=i.stockumID
LEFT JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=x.SaleOrderDetailID
where DatePart(Year,PostDate)=@year
AND DatePart(Month,PostDate)=@month
AND x.BinID =(@bin)
AND x.LocID =(@loc)
AND x.ProductID=(@item)
AND x.SaleOrderDetailID=@fg', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'THEKHO.xml', N'Thẻ Kho', N'Thẻ Kho')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080320160611373', N'Liệt kê sản phẩm hoàn thành theo mã hàng', N'', N'', N'', N'SQL', N'Declare @fdate1 datetime,@tdate1 datetime
set @fdate1=@fdate 
set @tdate1=@tdate
Select @fdate1 fdate,@tdate1 tdate, WC.PostDate,I.Code PartNo ,i.description PartName,WC.CompletedQuantity Qty
,WOD.SaleOrderDetailID,WR.LaborRunTime*WC.CompletedQuantity times,SOD.Fgoodscode,WC.Remark Comment
from PRO_WorkOrderCompletion WC
INNER JOIN PRO_WorkOrderDetail WOD ON WOD.WorkOrderDetailID= WC.WorkOrderDetailID
INNER JOIN PRO_WORouting WR ON WR.WorkOrderDetailID=WOD.WorkOrderDetailID
INNER JOIN ITM_Product i on i.productID=WC.ProductID
INNER JOIN MST_Location loc on loc.LocationID=WC.LocationID
INNER JOIN MST_Bin Bin on Bin.BinID=WC.BINID
left join SO_SaleOrderDetail SOD ON SOD.SaleOrderDetailID=WOD.SaleOrderDetailID
INNER JOIN ITM_Product I1 ON I1.ProductID=SOD.ProductID
WHERE WC.PostDate>=@fdate and WC.PostDate<=@tdate
and WOD.ProductionLineID=@pl
and WOD.SaleOrderDetailID in (@fgoodscode)', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Lietkesanphamhoanthanh.xml', N'Liệt kê sản phẩm hoàn thành theo mã hàng', N'Liệt kê sản phẩm hoàn thành theo mã hàng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080324141106920', N'Hop dong khoan luong', N'', N'', N'HopDongKhoanLuong.cs', N'C# File', N'[HopDongKhoanLuong]-[HopDongKhoanLuong.HopDongKhoanLuong]-[ExecuteReport(@FGoodsCode, @ProductionLineID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'HDKHOANLUONG.xml', N'Hợp đồng khoán lương', N'Hop dong khoan luong')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080327144235793', N'Hiện trạng hàng tồn kho', N'', N'', N'', N'SQL', N'Select Bin.Code Bin,I.Code PartNo,i.description PartName,i.revision,OHQuantity OHQty,CommitQuantity,UM.Code UM 
from IV_BinCache BC
INNER JOIN ITM_Product i on I.ProductID=BC.ProductID
INNER JOIN MST_Bin BIN ON BIN.BinID=BC.BinID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.StockUMID
Where BC.LocationID in (@loc)
and BC.BinID in (@bin)
and BC.ProductID in (@product)', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BinCache.xml', N'Hiện trạng hàng tồn kho', N'Hiện trạng hàng tồn kho')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080331110317327', N'Giấy báo ca tháng', N'', N'', N'', N'SQL', N'Select M.ProductionLineID,M.RequestType,Sum(d.RequestAmount) Amount,SOD.FGoodsCode,SOD.WOQuantity,I.Description 
from PAY_PaymentRequestDetail D
INNER JOIN PAY_PaymentRequestMaster m on m.PaymentRequestMasterID=d.PaymentRequestMasterID
INNER JOIN SO_SaleOrderDetail SOD ON SOD.SaleOrderDetailID=M.SaleOrderDetailID
INNER JOIN ITM_Product i on i.ProductID=SOD.ProductID
where M.RequestType=1
And M.ProductionLineID=@PL
AND Datepart(year,m.TransDate)=@year
AND Datepart(month,m.TransDate)=@month
Group by Datepart(year,m.TransDate), Datepart(month,m.TransDate),M.SaleOrderDetailID, m.RequestType,
SOD.FgoodsCode,SOD.WOQuantity,I.Description,M.ProductionLineID', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'giaybaoca.xml', N'Giấy báo ca tháng', N'Giấy báo ca tháng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080408100906687', N'Quản lý yêu cầu lĩnh vật tư', N'', N'', N'', N'SQL', N'Select SOD.FgoodsCode,RM.TransNo,I.Code PartNo,I.Description PartName,GetDate() ServerDate,
Sum(ISNULL(RD.Qty,0)) Qty,
isNULL((Select sum(ISNULL(Quantity,0)) from IV_MiscellaneousIssueDetail D
INNER JOIN IV_MiscellaneousIssueMaster M ON M.MiscellaneousIssueMasterID=D.MiscellaneousIssueMasterID
WHERE m.SaleOrderDetailID=RM.SaleOrderDetailID
AND d.productID=RD.ProductID
AND M.RequiredMaterialMasterID=rm.RequiredMaterialMasterID
),0)ReceivedQty
 from PRO_RequiredMaterialDetail Rd 
INNER JOIN PRO_RequiredMaterialMaster RM ON rM.RequiredMaterialMasterid=rD.RequiredMaterialMasterid
INNER JOIN SO_SaleOrderDetail SOD ON SOD.SaleOrderDetailID=RM.SaleOrderDetailID
INNER JOIN ITM_Product I ON I.ProductID=RD.ProductID
WHERE RM.ProductionLineID=@xn
and RM.SaleOrderDetailID=@mh
Group by SOD.FgoodsCode,RM.SaleOrderDetailID,RM.TransNo,RD.ProductID,I.Code,I.Description,RM.RequiredMaterialMasterID', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoQuanLyYCLVT.xml', N'Quản lý yêu cầu lĩnh vật tư', N'Quản lý yêu cầu lĩnh vật tư')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080408101140390', N'Quản lý đơn bán hàng', N'', N'', N'', N'SQL', N'SELECT TranSDate, SDH, Customer, ProductID, QuoteQty, Contact, DueDate, OrderQty, PartNo, PartName, UM,
WOQty, CompletedQty, Status, ServerDate, SaleOrderMasterID, PartyID, ShippedDate, InvoiceQty
FROM v_BaoCaoQuanLyDonBanHang
WHERE SaleOrderMasterID = @sdh
AND PartyID = @dvdh
AND ProductID = @sp', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoQuanLyDonBanHang.xml', N'Quản lý đơn bán hàng', N'Quản lý đơn bán hàng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080408102037840', N'Danh sách nhà cung cấp được phê duyệt', N'', N'', N'', N'SQL', N'SELECT V.Name, V.Phone + ''/'' + V.Fax TelFax,
P.Code, P.Description, V.ApprovalDate, getdate() ServerDate
FROM PO_VendorDeliverySchedule S JOIN MST_Party V
ON S.PartyID = V.PartyID
JOIN ITM_Product P ON S.ProductID = P.ProductID
ORDER BY V.Name, P.Code, P.Description', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'DSDonViCungUngDuocPheDuyet.xml', N'Danh sách nhà cung cấp được phê duyệt', N'Danh sách nhà cung cấp được phê duyệt')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080409152738200', N'Bảng thanh toán lương', N'', N'', N'BangThanhToanTienLuong.cs', N'C# File', N'[BangThanhToanTienLuong]-[BangThanhToanTienLuong.BangThanhToanTienLuong]-[ExecuteReport(@month, @year, @pl)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BangThanhToanTienLuong.xml', N'Bảng thanh toán lương', N'Bảng thanh tóan lương')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080423043235067', N'Tổng hợp vật tư nhập mua theo nhà cung cấp', N'', N'', N'', N'SQL', N'Declare @fdate1 datetime,@tdate1 datetime
set @fdate1=@fdate
set @tdate1=@tdate
Select @fdate1 fdate,@tdate1 tdate,getdate() ServerDate, PT.Name VendorName, I.Code PartNo,i.description PartName,UM.Code um,Sum(isNULL(d.ReceiveQuantity,0)) qty,Sum(isNULL(IND.CIFAmount,0)*isNULL(INM.ExchangeRate,0)) Amount,
sum(IND.VATAmount*INM.ExchangeRate) VATAmount from PO_PurchaseOrderReceiptDetail D
INNER JOIN PO_PurchaseOrderReceiptMaster m on m.PurchaseOrderReceiptID=D.PurchaseOrderReceiptID
INNER JOIN PO_InvoiceDetail IND ON IND.InvoiceDetailID=D.InvoiceDetailID
INNER JOIN PO_InvoiceMaster INM ON INM.InvoiceMasterID=IND.InvoiceMasterID
INNER JOIN MST_Party PT ON PT.PartyID=INM.PartyID
INNER JOIN ITM_Product i on i.productid=d.productid
INNER JOIN MST_UnitOfMeasure um on um.UnitOfMeasureID=I.StockUMID
where M.PostDate>=@fdate and M.PostDate<=@tdate
and PT.PartyID = @ncc
Group by PT.Name,I.Code,i.description,um.code', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'TonghopvtnhaptheoNCC.xml', N'Tổng hợp vật tư nhập mua theo nhà cung cấp', N'Tổng hợp vật tư nhập mua theo nhà cung cấp')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080505151338150', N'BOMShorttage', N'', N'', N'', N'SQL', N'Select SO.FgoodsCode,WD.ProductID, I1.Code PartNo,I1.Description PartName,Loc.Code loc,bin.Code bin,UM.Code UM,(WD.OrderQuantity-
ISNULL((Select Sum(CompletedQuantity) from  PRO_WorkOrderCompletion
where ProductID= WD.ProductID AND WorkOrderDetailID=WD.WorkOrderDetailID),0))*WB.Quantity needQty,
WB.ComponentID, I2.Code ComNO,I2.Description ComName, 
(Case when I2.Revision=''CTTC'' THEN OHQuantity
else OHQuantity/(case when I2.Rate=0 then 1 
else I2.Rate
end)
end)OHQty
FROM PRO_WorkOrderDetail WD
INNER JOIN PRO_WOBOM WB ON WB.WorkOrderDetailID=WD.WorkOrderDetailID
INNER JOIN PRO_ProductionLine PL ON PL.ProductionLineID=WD.ProductionLineID
INNER JOIN ITM_Product I1 ON I1.ProductID=WD.ProductID
INNER JOIN ITM_Product I2 ON I2.ProductID=WB.ComponentID
INNER JOIN IV_BinCache BC ON BC.ProductID=WB.ComponentID AND BC.LocationID=PL.LocationID
INNER JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=WD.SaleOrderDetailID
INNER JOIN MST_Location Loc on Loc.LocationID=BC.LocationID
INNER JOIN MST_Bin Bin on Bin.BinID=BC.BinID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I2.StockUMID
WHERE (WD.OrderQuantity-
ISNULL((Select Sum(CompletedQuantity) from  PRO_WorkOrderCompletion
where ProductID= WD.ProductID AND WorkOrderDetailID=WD.WorkOrderDetailID),0))>0
AND BinTypeID=4
--and WD.WorkOrderDetailID=@woline
Group by SO.FgoodsCode,WD.WorkOrderDetailID,WD.OrderQuantity,WD.ProductID,
I1.Code,I1.Description,WB.ComponentID,I2.Code,I2.Description,i2.Revision,i2.rate,UM.Code,WB.Quantity,BC.OHQuantity,LOC.Code,bin.code', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Baocao_vattucanthiet.xml', N'Báo cáo vật tư cho lệnh sản xuất', N'Báo cáo vật tư cho lệnh sản xuất')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080507114905640', N'Vật tư còn thiếu để nhập hoàn thành', N'', N'', N'', N'SQL', N'Select SO.FgoodsCode, WD.ProductID, I1.Code +''(''+I1.Description +'')''PartName,(WD.OrderQuantity-
ISNULL((Select Sum(CompletedQuantity) from  PRO_WorkOrderCompletion
where ProductID= WD.ProductID AND WorkOrderDetailID=WD.WorkOrderDetailID),0))RemainQty,(WD.OrderQuantity-
ISNULL((Select Sum(CompletedQuantity) from  PRO_WorkOrderCompletion
where ProductID= WD.ProductID AND WorkOrderDetailID=WD.WorkOrderDetailID),0))*WB.Quantity needQty,
WB.ComponentID, I2.Code ComNO,I2.Description ComName,I2.Revision,Loc.Code Loc, 
ISNULL((Case when I2.Revision=''CTTC'' THEN OHQuantity
else OHQuantity/(case when I2.Rate=0 then 1 
else I2.Rate
end)
end),0)OHQty
FROM PRO_WorkOrderDetail WD
INNER JOIN PRO_WOBOM WB ON WB.WorkOrderDetailID=WD.WorkOrderDetailID
INNER JOIN PRO_ProductionLine PL ON PL.ProductionLineID=WD.ProductionLineID
INNER JOIN ITM_Product I1 ON I1.ProductID=WD.ProductID
INNER JOIN ITM_Product I2 ON I2.ProductID=WB.ComponentID
LEFT JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=WD.SaleOrderDetailID
LEFT OUTER JOIN IV_BinCache BC ON BC.ProductID=WB.ComponentID AND BC.LocationID=PL.LocationID
INNER JOIN MST_Bin Bin on Bin.BinID=BC.BinID
INNER JOIN MST_Location Loc on Loc.LocationID=PL.LocationID
WHERE (WD.OrderQuantity-
ISNULL((Select Sum(CompletedQuantity) from  PRO_WorkOrderCompletion
where ProductID= WD.ProductID AND WorkOrderDetailID=WD.WorkOrderDetailID),0))>0
and WD.WorkOrderDetailID=@lsx
and 
((WD.OrderQuantity-
ISNULL((Select Sum(CompletedQuantity) from  PRO_WorkOrderCompletion
where ProductID= WD.ProductID AND WorkOrderDetailID=WD.WorkOrderDetailID),0))*WB.Quantity
-
isNULL((Case when I2.Revision=''CTTC'' THEN OHQuantity
else OHQuantity/(case when I2.Rate=0 then 1 
else I2.Rate
end)
end),0))>0
And Bin.BinTypeID=4
Group by SO.FgoodsCode,WD.WorkOrderDetailID,WD.OrderQuantity,WD.ProductID,Loc.Code,
I1.Code,I1.Description,WB.ComponentID,I2.Code,I2.Description,i2.Revision,i2.rate,WB.Quantity,BC.OHQuantity', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Baocao_vattucanthiet.xml', N'Vật tư còn thiếu để nhập hoàn thành', N'Vật tư còn thiếu để nhập hoàn thành')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080507142842373', N'Du tru_draf', N'', N'', N'', N'SQL', N'Declare @code AS NVARCHAR(100)
set @code=@mycode
Select I.Code PartNo,i.Description PartName,I.Revision, 
SUM(BOM.Quantity*i.rate*I2.GroupQuantity)Weight,Sum(BOM.Quantity*I2.GroupQuantity) BOMQty,UM.Code UM from ITM_BOM BOM
INNER JOIN ITM_Product I ON I.ProductID=BOM.ComponentID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.DesignUMID
INNER JOIN ITM_Product I2 ON I2.ProductID=BOM.ProductID
WHERE BOM.ProductID IN (select ProductID from ITM_Product where Code like @code +''%'')
AND i.makeitem=0 
Group by  I.Code,i.Description,i.Revision,UM.Code
UNION ALL
Select I.Code PartNo,i.Description PartName,I.Revision, 
Sum(BOM.Quantity*i.rate*i2.GroupQuantity) Weight,Sum(BOM.Quantity*i2.GroupQuantity) BOMQty,UM.Code UM from ITM_BOM BOM
INNER JOIN ITM_Product I ON I.ProductID=BOM.ComponentID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.DesignUMID
INNER JOIN ITM_Product I2 ON I2.ProductID=BOM.ProductID
WHERE BOM.ProductID IN (select ProductID from ITM_Product where Code like @code +''%'')
AND i.makeitem=1 AND I.Revision=''CTTC'' 
Group by  I.Code,i.Description,i.Revision,UM.Code', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'dutruvattu_standard.xml', N'Du tru_draf', N'Du tru_draf')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080513112229110', N'Bang ke chi tiet vat lieu chinh_draf', N'', N'', N'', N'SQL', N'Declare @code AS NVARCHAR(100)
set @code=@mycode
Select (Case when I2.GroupQuantity=NULL then 1
 WHEN I2.GroupQuantity=0 then 1
Else I2.GroupQuantity END) GroupQuantity,I2.Code SpartNo,I2.Description SPartName,I.Code PartNo,i.Description PartName,I.Revision, I2.Group1,I2.Group2,
SUM(BOM.Quantity*i.rate*
Case when I2.GroupQuantity=NULL then 1
 WHEN I2.GroupQuantity=0 then 1
Else I2.GroupQuantity END)Weight,Sum(BOM.Quantity*Case when I2.GroupQuantity=NULL then 1
 WHEN I2.GroupQuantity=0 then 1
Else I2.GroupQuantity END) BOMQty,UM.Code UM from ITM_BOM BOM
INNER JOIN ITM_Product I ON I.ProductID=BOM.ComponentID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.DesignUMID
INNER JOIN ITM_Product I2 ON I2.ProductID=BOM.ProductID
WHERE BOM.ProductID IN (select ProductID from ITM_Product where Code like @code +''%'')
AND I2.ProductTypeID<>4
AND i.makeitem=0 
Group by I2.GroupQuantity,I2.Code, I2.Description, I.Code,i.Description,i.Revision,UM.Code,I2.Group1,I2.Group2
UNION ALL
Select (Case when I2.GroupQuantity=NULL then 1
 WHEN I2.GroupQuantity=0 then 1
Else I2.GroupQuantity END) GroupQuantity,
I2.Code SpartNo,I2.Description SPartName,I.Code PartNo,i.Description PartName,I.Revision, I2.Group1,I2.Group2,
Sum(BOM.Quantity*i.rate*i2.GroupQuantity) Weight,Sum(BOM.Quantity*i2.GroupQuantity) BOMQty,UM.Code UM from ITM_BOM BOM
INNER JOIN ITM_Product I ON I.ProductID=BOM.ComponentID
INNER JOIN MST_UnitOfMeasure UM ON UM.UnitOfMeasureID=I.DesignUMID
INNER JOIN ITM_Product I2 ON I2.ProductID=BOM.ProductID
WHERE BOM.ProductID IN (select ProductID from ITM_Product where Code like @code +''%'')
AND i.makeitem=1 AND I.Revision=''CTTC'' AND I.WorkCenterID=NULL
Group by I2.GroupQuantity,I2.Code, I2.Description, I.Code,i.Description,i.Revision,UM.Code,I2.Group1,I2.Group2', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Bangkechitietvalieuchinh_draf.xml', N'Bang ke chi tiet vat lieu chinh_draf', N'Bang ke chi tiet vat lieu chinh_draf')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080529101418890', N'Raw-Material List Item', N'', N'', N'BangKeChiTietVatLieuChinhItem.cs', N'C# File', N'[BangKeChiTietVatLieuChinhItem]-[BangKeChiTietVatLieuChinhItem.BangKeChiTietVatLieuChinhItem]-[ExecuteReport(@SaleOrderDetailID,@ProductionLineID, @Fullname)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BangKeChiTietVatLieuChinh.xml', N'Bảng kê chi tiết vật liệu chính SP', N'Raw-Material List Item')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080529101454810', N'General Material Forecast Item', N'', N'', N'BaoCaoDuTruItem.cs', N'C# File', N'[BaoCaoDuTruItem]-[BaoCaoDuTruItem.BaoCaoDuTruItem]-[ExecuteReport(@FGoodsCode, @ProductionLineID, @Fullname)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'BaoCaoDuTru.xml', N'Dự trù vật tư tổng hợp SP', N'General Material Forecast Item')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080530150951683', N'Nhập kho thành phẩm theo tháng', N'', N'', N'', N'SQL', N'Select Datepart(year,WC.PostDate)Years,Datepart(month,WC.PostDate) Months,GetDate() ServerDate,
SO.FgoodsCode,I.Description PartName,I.Code PartNo,WC.ProductID,Sum(WC.CompletedQuantity)Slg,PL.Code XN,WC.LocationID
from PRO_WorkOrderCompletion WC
INNER JOIN PRO_WorkOrderDetail WD ON WD.WorkOrderDetailID=WC.WorkOrderDetailID
INNER JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=WD.SaleOrderDetailID
AND WD.ProductID=SO.ProductID
INNER JOIN ITM_Product i on I.ProductID=WD.ProductID
INNER JOIN PRO_ProductionLine PL ON PL.ProductionLineID=WD.ProductionLineID
WHERE Datepart(year,WC.PostDate)=@year
AND Datepart(month,WC.PostDate)=@month

AND WC.LocationID in (@loc)
Group by Datepart(year,WC.PostDate),Datepart(month,WC.PostDate),SO.FgoodsCode,I.Description,WC.ProductID,
I.Code,I.Description,PL.Code,WC.LocationID', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'NhapKhoThanhPham.xml', N'Nhập kho thành phẩm theo tháng', N'Nhập kho thành phẩm theo tháng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080530174954530', N'Sản phẩm tồn kho cuối tháng', N'', N'', N'', N'SQL', N'select DatePart(year,v.PostDate) Years,DatePart(month,v.PostDate) Months,GetDate() ServerDate,
I.Code PartNo,I.Description PartName,(Sum(ISNULL(BeginStock,0))+Sum(isNULL(v.Inqty,0))
- Sum(isNULL(v.Outqty,0))) Slg
from v_thekho v
inner join itm_product i on i.ProductID=V.ProductID
where V.LocID=197 
and DatePart(year,v.PostDate)=@year
and DatePart(month,v.PostDate)=@month
Group by DatePart(year,v.PostDate),DatePart(month,v.PostDate),i.code,i.description,v.LocID
having (Sum(ISNULL(BeginStock,0))+Sum(isNULL(v.Inqty,0))
- Sum(isNULL(v.Outqty,0)))<>0', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'SanPhamTonKho.xml', N'Sản phẩm tồn kho cuối tháng', N'Sản phẩm tồn kho cuối tháng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080602103419840', N'Sản phẩm dở dang cuối kỳ', N'', N'', N'', N'SQL', N'DECLARE @postDate datetime
SET @postDate = @date
Select DISTINCT FgoodsCode,PartNo,PartName,OrderQuantity-CompletedQty qty,@postDate EndDate from(
Select SO.FgoodsCode,I.Code PartNo, I.Description PartName,WM.TransDate OrderDate,
ISNULL(WC.PostDate,GetDate())PostDate,WD.OrderQuantity ,WD.WorkOrderDetailID,WD.ProductID,
ISNULL((Select Sum(WC1.CompletedQuantity)FROM PRO_WorkOrderCompletion WC1
Where WC1.WorkOrderDetailID=WD.WorkOrderDetailID
AND WC1.PostDate<=@postDate
),0)CompletedQty
from PRO_WorkOrderDetail WD
INNER JOIN PRO_WorkOrderMaster WM ON WM.WorkOrderMasterID=WD.WorkOrderMasterID
LEFT JOIN PRO_WorkOrderCompletion WC ON WC.WorkOrderDetailID=WD.WorkOrderDetailID
INNER JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=WD.SaleOrderDetailID AND WD.ProductID=SO.ProductID
INNER JOIN ITM_Product i on i.productid=so.productid
WHERE WD.OrderQuantity- ISNULL((Select Sum(WC1.CompletedQuantity)FROM PRO_WorkOrderCompletion WC1
Where WC1.WorkOrderDetailID=WD.WorkOrderDetailID
AND WC1.PostDate<=@postDate
),0) >=0
AND 
WM.TransDate<@postDate 
and ISNULL(WC.PostDate,getdate())>=@postDate 
)x', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'CPSXDoDang.xml', N'Sản phẩm dở dang cuối kỳ', N'Sản phẩm dở dang cuối kỳ')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080602141347653', N'Báo cáo sản lượng hàng tháng', N'', N'', N'', N'SQL', N'Select GETDATE() ServerDate, Datepart(year,RequestDate)Years, Datepart(month,RequestDate)months,SO.FgoodsCode,i.code PartNo,M.SaleOrderDetailID,
i.description PartName,SO.WOQuantity slg
,Sum(isNULL(D.ApprovalAmount,0))/
isNULL((Select Sum(isNULL(Amount,1)) from PAY_EstimateDetail d
inner join PAY_EstimateMaster em on em.EstimateMasterID=d.EstimateMasterID
where em.SaleOrderDetailID=m.SaleOrderDetailID ),1)klg,
(Select Sum(WOD.OrderQuantity*WOB.Quantity*
ISNULL(I.Rate,0)) +ISNULL((Select Sum(WOD.OrderQuantity*WOB.Quantity*
ISNULL(I.Rate,1)) from PRO_WorkOrderDetail WOD
INNER JOIN PRO_WOBOM WOB ON WOB.WorkOrderDetailID=WOD.WorkOrderDetailID
INNER JOIN ITM_Product i on I.ProductID=WOB.ComponentID
WHERE WOD.SaleOrderDetailID=m.SaleOrderDetailID  AND MAKEITEM=1 AND i.Revision=''CTTC''),0)
from PRO_WorkOrderDetail WOD
INNER JOIN PRO_WOBOM WOB ON WOB.WorkOrderDetailID=WOD.WorkOrderDetailID
INNER JOIN ITM_Product i on I.ProductID=WOB.ComponentID
WHERE WOD.SaleOrderDetailID=m.SaleOrderDetailID AND i.MakeItem=0 )dutru
from PAY_PaymentRequestDetail D
INNER JOIN PAY_PaymentRequestMaster M ON M.PaymentRequestMasterID=D.PaymentRequestMasterID
INNER JOIN SO_SaleOrderDetail SO ON SO.SaleOrderDetailID=M.SaleOrderDetailID
INNER JOIN ITM_Product I ON I.ProductID=SO.ProductID
WHERE Datepart(Year,D.RequestDate)=@year
AND Datepart(month,D.RequestDate)=@month
Group by Datepart(year,RequestDate), Datepart(month,RequestDate),M.SaleOrderDetailID, SO.FgoodsCode,SO.WOQuantity,i.code,i.description', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'Baocaosanluong.xml', N'Báo cáo sản lượng hàng tháng', N'Báo cáo sản lượng hàng tháng')
INSERT [sys_Report] ([ReportID], [ReportName], [Description], [ISOCode], [ReportFile], [ReportType], [Command], [MarginTop], [MarginLeft], [MarginRight], [MarginBottom], [MarginGutter], [MarginGutterPos], [Orientation], [PaperSize], [TableBorder], [Signatures], [FontReportHeader], [FontParameter], [FontPageHeader], [FontGroupBy], [FontDetail], [FontPageFooter], [FontReportFooter], [UseTemplate], [TemplateFile], [ReportNameVN], [ReportNameJP]) VALUES (N'20080616142526060', N'MaterialManagementReport', N'', N'', N'MaterialManagementReport.cs', N'C# File', N'[MaterialManagementReport]-[MaterialManagementReport.MaterialManagementReport]-[ExecuteReport(@CCNID, @CategoryID, @ProductID)]', 720, 720, 720, 720, 0, 0, 0, 9, 0, N'', N'', N'', N'', N'', N'', N'', N'', 1, N'MaterialManagementReport.xml', N'MaterialManagementReport', N'MaterialManagementReport')
GO
-- sys_ReportAndGroup--------------------------
/****** Object:  Table [sys_ReportAndGroup]    Script Date: 11/09/2011 00:10:19 ******/
SET IDENTITY_INSERT [sys_ReportAndGroup] ON
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (17, N'20051214095838810', N'20051214095905607', 1)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (19, N'20051214095838810', N'20051216102010373', 2)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (20, N'20051130134543937', N'20051216155448810', 3)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (22, N'20051222150154153', N'20051222150218873', 1)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (23, N'20051214095838810', N'20051227093844013', 3)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (25, N'20051130134543937', N'20060106112624623', 4)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (26, N'20051130134543937', N'20060106114352030', 2)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (27, N'20051130134543937', N'20060121165113763', 5)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (28, N'20051130134543937', N'20060123151943030', 6)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (36, N'20051214095838810', N'20060123104959123', 4)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (37, N'20051130134543937', N'20060124141252233', 7)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (42, N'20051222150154153', N'20060315100920780', 2)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (43, N'20051222150154153', N'20060315102826293', 3)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (44, N'20051130134543937', N'20060315104201077', 8)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (51, N'20060315155928170', N'20060315155943547', 1)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (52, N'20060315155928170', N'20060315160033250', 2)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (53, N'20051130134543937', N'20060316092109937', 9)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (54, N'20051222150154153', N'20060316112942170', 4)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (56, N'20060317095801560', N'20060317095811873', 1)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (57, N'20060317095801560', N'20060317104452607', 2)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (59, N'20060317095801560', N'20060327175240793', 3)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (60, N'20060317095801560', N'20060415162029937', 4)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (61, N'20051130134543937', N'20060417180732373', 10)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (63, N'20060418145303903', N'20060418145330543', 1)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (64, N'20060317095801560', N'20060421143620590', 5)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (66, N'20060317095801560', N'20060508114200467', 6)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (67, N'20051222150154153', N'20060514115948000', 5)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (68, N'20051222150154153', N'20060516092014340', 6)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (69, N'20051222150154153', N'20060605100737827', 7)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (70, N'20060317095801560', N'20060605110907733', 7)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (72, N'20051222150154153', N'20060606141610700', 8)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (73, N'20051222150154153', N'20060606173621403', 12)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (74, N'20051222150154153', N'20060609100024060', 10)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (75, N'20051222150154153', N'20060609152315577', 9)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (76, N'20051222150154153', N'20060609152749950', 11)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (78, N'20060317095801560', N'20060611162954140', 8)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (79, N'20060317095801560', N'20060611163303640', 9)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (80, N'20060317095801560', N'20060611163856153', 10)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (81, N'20060317095801560', N'20060611164200077', 14)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (82, N'20060317095801560', N'20060611164542873', 11)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (83, N'20060317095801560', N'20060611164724967', 12)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (84, N'20060317095801560', N'20060611164829967', 13)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (85, N'20060317095801560', N'20060612105404390', 15)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (86, N'20060317095801560', N'20060612153634123', 16)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (87, N'20051130134543937', N'20060613181207263', 12)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (88, N'20051222150154153', N'20060621175625340', 13)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (89, N'20051222150154153', N'20060622112838983', 14)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (91, N'20060317095801560', N'20060712103905357', 17)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (114, N'20060317095801560', N'20060916165135890', 18)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (116, N'20060317095801560', N'20060929114949327', 19)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (118, N'20051130134543937', N'20061012153040513', 11)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (120, N'20060315155928170', N'20061109094110013', 3)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (121, N'20060315155928170', N'20061117152107810', 4)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (123, N'20051130134543937', N'20061124143451733', 14)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (126, N'20060317095801560', N'20061205103013000', 20)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (127, N'20060317095801560', N'20061205111008657', 21)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (128, N'20060317095801560', N'20061205125657280', 22)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (130, N'20051130134543937', N'20061228090721280', 15)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (131, N'20051130134543937', N'20061228145550153', 16)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (133, N'20070117145738640', N'20070117145950090', 3)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (139, N'20070117145738640', N'20071128153038553', 5)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (141, N'20070117145738640', N'20071128162716380', 8)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (142, N'20060315155928170', N'20071205111743423', 6)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (143, N'20060315155928170', N'20071205160714517', 7)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (144, N'20060315155928170', N'20071213143211780', 8)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (145, N'20060315155928170', N'20071213143343577', 9)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (147, N'20060315155928170', N'20080103134026600', 11)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (148, N'20060315155928170', N'20080103151906850', 10)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (150, N'20060315155928170', N'20080110142904590', 13)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (152, N'20060317095801560', N'20080115111252653', 24)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (153, N'20051130134543937', N'20080121153823863', 18)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (154, N'20051222150154153', N'20080214144318077', 17)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (156, N'20051222150154153', N'20080214151532310', 15)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (157, N'20051222150154153', N'20080219142325513', 18)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (158, N'20051130134543937', N'20080226120046917', 19)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (159, N'20051130134543937', N'20080226161701603', 20)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (160, N'20060315155928170', N'20080313125016687', 12)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (161, N'20051130134543937', N'20080319131635030', 21)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (163, N'20060315155928170', N'20080320160611373', 15)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (164, N'20070117145738640', N'20080324141106920', 9)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (165, N'20051130134543937', N'20080327144235793', 22)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (166, N'20070117145738640', N'20080331110317327', 10)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (167, N'20060315155928170', N'20080408100906687', 16)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (168, N'20051222150154153', N'20080408101140390', 16)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (169, N'20060317095801560', N'20080408102037840', 25)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (170, N'20070117145738640', N'20080409152738200', 7)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (171, N'20060317095801560', N'20080423043235067', 26)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (173, N'20060315155928170', N'20080505151338150', 14)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (174, N'20060315155928170', N'20080507114905640', 17)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (175, N'20060315155928170', N'20080507142842373', 18)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (176, N'20060315155928170', N'20080513112229110', 19)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (177, N'20060315155928170', N'20080529101418890', 21)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (178, N'20060315155928170', N'20080529101454810', 20)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (179, N'20060315155928170', N'20080530150951683', 22)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (180, N'20060315155928170', N'20080530174954530', 23)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (181, N'20060315155928170', N'20080602103419840', 24)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (182, N'20051222150154153', N'20080602141347653', 19)
INSERT [sys_ReportAndGroup] ([ReportAndGroupID], [GroupID], [ReportID], [ReportOrder]) VALUES (183, N'20060316154800420', N'20080616142526060', 1)
GO

SET IDENTITY_INSERT [sys_ReportAndGroup] OFF
GO
-- sys_ReportFields--------------------------
/****** Object:  Table [sys_ReportFields]    Script Date: 11/09/2011 00:10:19 ******/
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'DeliveryDay', 1, N'DeliveryDay', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'DeliveryDay', N'DeliveryDay', N'DeliveryDay', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'DeliveryMonth', 2, N'DeliveryMonth', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'DeliveryMonth', N'DeliveryMonth', N'DeliveryMonth', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'DeliveryQuantity', 10, N'DeliveryQuantity', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'DeliveryQuantity', N'DeliveryQuantity', N'DeliveryQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'DeliveryYear', 3, N'DeliveryYear', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'DeliveryYear', N'DeliveryYear', N'DeliveryYear', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'ITM_CategoryCode', 6, N'ITM_CategoryCode', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ITM_CategoryCode', N'ITM_CategoryCode', N'ITM_CategoryCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'ITM_ProductCode', 4, N'ITM_ProductCode', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ITM_ProductCode', N'ITM_ProductCode', N'ITM_ProductCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'ITM_ProductDescription', 5, N'ITM_ProductDescription', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ITM_ProductDescription', N'ITM_ProductDescription', N'ITM_ProductDescription', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'ITM_ProductRevision', 7, N'ITM_ProductRevision', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ITM_ProductRevision', N'ITM_ProductRevision', N'ITM_ProductRevision', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'MST_PartyCodeName', 9, N'MST_PartyCodeName', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'MST_PartyCodeName', N'MST_PartyCodeName', N'MST_PartyCodeName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051222150218873', N'MST_UnitOfMeasureCode', 8, N'MST_UnitOfMeasureCode', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'MST_UnitOfMeasureCode', N'MST_UnitOfMeasureCode', N'MST_UnitOfMeasureCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'LeadTimeOffset', 5, N'Lead Time', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Lead Time', N'Lead Time', N'Lead Time', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'PartName', 2, N'Part Name', N'', 1, 0, 1, 0, 2880, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'PartNumber', 1, N'Part Number', N'', 1, 0, 1, 0, 2160, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Number', N'Part Number', N'Part Number', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'ProductID', 7, N'ProductID', N'', 0, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'Quantity', 4, N'Quantity', N'', 1, 0, 1, 0, 720, NULL, N'#,##0', 0, 0, 0, 0, 0, 0, 0, N'Quantity', N'Quantity', N'Quantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'Revision', 3, N'Model', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'SafetyStock', 9, N'Safety Stock', N'', 1, 0, 1, 0, 720, NULL, N'#,##0', 0, 0, 0, 0, 0, 0, 0, N'Safety Stock', N'Safety Stock', N'Safety Stock', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'Shrink', 6, N'Shrink', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Shrink', N'Shrink', N'Shrink', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20051227093844013', N'Unit', 8, N'Unit', N'', 1, 0, 1, 0, 288, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Unit', N'Unit', N'Unit', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'BuyingUM', 10, N'Buying UM', N'', 1, 0, 1, 0, 216, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Buying UM', N'Buying UM', N'Buying UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'Category', 6, N'Category', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 1, 0, 0, 0, 0, 0, N'Category', N'Category', N'Category', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'Currency', 16, N'Currency', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Currency', N'Currency', N'Currency', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'ImportTax', 19, N'Import (%)', N'', 1, 0, 1, 0, 201, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Import (%)', N'Import (%)', N'Import (%)', 14, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'ListPrice', 15, N'Purchasing Price', N'', 1, 0, 1, 0, 360, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Purchasing Price', N'Purchasing Price', N'Purchasing Price', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'LTFixedTime', 17, N'Fixed LT (second)', N'', 1, 0, 1, 0, 432, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Fixed LT (second)', N'Fixed LT (second)', N'Fixed LT (second)', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'MakeItem', 12, N'Make Item', N'', 1, 0, 1, 0, 216, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Make Item', N'Make Item', N'Make Item', 3, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'No', 1, N'No', N'', 1, 2, 1, 0, 144, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'No', N'No', N'No', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'OrderQuantity', 13, N'Min Order Qty.', N'', 1, 0, 1, 0, 360, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Min Order Qty.', N'Min Order Qty.', N'Min Order Qty.', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'OrderQuantityMultiple', 14, N'Qty. Multiple', N'', 1, 0, 1, 0, 360, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Qty. Multiple', N'Qty. Multiple', N'Qty. Multiple', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'PartName', 8, N'Part Name', N'', 1, 0, 1, 0, 1440, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'PartNo', 7, N'Part No.', N'', 1, 0, 1, 0, 720, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'PartyID', 2, N'PartyID', N'', 0, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartyID', N'PartyID', N'PartyID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'Revision', 9, N'Model', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'Source', 11, N'Source', N'', 1, 0, 1, 0, 288, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Source', N'Source', N'Source', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'VAT', 18, N'VAT (%)', N'', 1, 0, 1, 0, 201, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'VAT (%)', N'VAT (%)', N'VAT (%)', 14, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060123104959123', N'Vendor', 5, N'Vendor', N'', 1, 0, 1, 0, 3600, NULL, N'', 0, 1, 0, 0, 0, 0, 0, N'Vendor', N'Vendor', N'Vendor', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'ConfirmShipNo', 3, N'Ship No.', N'', 1, 0, 1, 0, 1152, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Ship No.', N'Ship No.', N'Ship No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'CustomerCode', 25, N'Customer Code', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Customer Code', N'Customer Code', N'Customer Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'CustomerName', 26, N'Customer Name', N'', 1, 0, 1, 0, 1872, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Customer Name', N'Customer Name', N'Customer Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'DelLine', 12, N'Del. Line', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Del. Line', N'Del. Line', N'Del. Line', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'Model', 6, N'Model', N'', 1, 0, 1, 0, 504, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'No', 1, N'No.', N'', 1, 2, 1, 0, 216, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'PartName', 5, N'Part Name', N'', 1, 0, 1, 0, 1872, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'PartNo', 4, N'Part No.', N'', 1, 0, 1, 0, 936, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 0)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'SaleOrderLine', 11, N'SO. Line', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'SO. Line', N'SO. Line', N'SO. Line', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'SaleType', 9, N'Sales Type', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Sales Type', N'Sales Type', N'Sales Type', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'SellingUM', 7, N'Selling UM', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Selling UM', N'Selling UM', N'Selling UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'ShippedDate', 2, N'Ship Date-Time', N'', 1, 0, 1, 0, 720, NULL, N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Ship Date-Time', N'Ship Date-Time', N'Ship Date-Time', 16, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'ShipQuantity', 8, N'Shipped Qty.', N'', 1, 0, 1, 0, 648, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Shipped Qty.', N'Shipped Qty.', N'Shipped Qty.', 15, 2)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'SONo', 10, N'SO. No.', N'', 1, 0, 1, 0, 1152, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'SO. No.', N'SO. No.', N'SO. No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315100920780', N'Username', 41, N'User Name', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'CommitQuantity', 8, N'Committed Qty.', N'', 1, 0, 1, 0, 720, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Committed Qty.', N'Committed Qty.', N'Committed Qty.', 15, 2)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'CustomerCode', 10, N'Customer Code', N'', 1, 0, 1, 0, 864, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Customer Code', N'Customer Code', N'Customer Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'CustomerName', 11, N'Customer Name', N'', 1, 0, 1, 0, 1872, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Customer Name', N'Customer Name', N'Customer Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'FromLocation', 9, N'From Location', N'', 1, 0, 1, 0, 576, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'From Location', N'From Location', N'From Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'Model', 6, N'Model', N'', 1, 0, 1, 0, 504, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'No', 1, N'No.', N'', 1, 2, 1, 0, 216, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'PartName', 5, N'Part Name', N'', 1, 0, 1, 0, 1872, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'PartNo', 4, N'Part No.', N'', 1, 0, 1, 0, 1152, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'ScheduleDate', 2, N'Schedule Date', N'', 1, 0, 1, 0, 576, NULL, N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Schedule Date', N'Schedule Date', N'Schedule Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'SONo', 3, N'SO No.', N'', 1, 0, 1, 0, 1152, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'SO No.', N'SO No.', N'SO No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'UM', 7, N'UM', N'', 1, 0, 1, 0, 288, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315102826293', N'Username', 23, N'User Name', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'AdjustQuantity', 9, N'Adjust Qty.', N'', 1, 0, 1, 0, 720, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Adjust Qty.', N'Adjust Qty.', N'Adjust Qty.', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'Bin', 11, N'Bin', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Bin', N'Bin', N'Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'Comment', 12, N'Comment', N'', 1, 0, 1, 0, 1440, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Comment', N'Comment', N'Comment', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'ITM_CategoryCode', 4, N'Category', N'', 1, 0, 1, 0, 360, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Category', N'Category', N'Category', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'Location', 10, N'Location', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Location', N'Location', N'Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'Model', 7, N'Model', N'', 1, 0, 1, 0, 504, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'No', 1, N'No.', N'', 1, 2, 1, 0, 216, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'PartName', 6, N'Part Name', N'', 1, 0, 1, 0, 2160, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'PartNo', 5, N'Part No.', N'', 1, 0, 1, 0, 1152, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'PostDate', 2, N'Post Date', N'', 1, 0, 1, 0, 720, NULL, N'dd-MM-yyyy HH:mm', 1, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'TransNo', 3, N'Trans. No.', N'', 1, 0, 1, 0, 648, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Trans. No.', N'Trans. No.', N'Trans. No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'UM', 8, N'UM', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315104201077', N'Username', 13, N'User Name', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Bin', 24, N'Bin', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Bin', N'Bin', N'Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Completed Qty', 22, N'Completed Qty', N'', 1, 0, 1, 0, 720, NULL, N'#,###', 0, 0, 0, 0, 0, 0, 0, N'Completed Qty', N'Completed Qty', N'Completed Qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Completion No.', 13, N'Completion No.', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Completion No.', N'Completion No.', N'Completion No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Location', 23, N'Location', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Location', N'Location', N'Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Model', 20, N'Model', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'No.', 12, N'No.', N'', 1, 2, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Part Name', 19, N'Part Name', N'', 1, 0, 1, 0, 1800, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Part No.', 18, N'Part No.', N'', 1, 0, 1, 0, 1440, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Post Date', 14, N'Post Date', N'', 1, 0, 1, 0, 720, NULL, N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Purpose', 26, N'Purpose', N'', 1, 0, 1, 0, 1080, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Purpose', N'Purpose', N'Purpose', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Remark', 28, N'Remark', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Remark', N'Remark', N'Remark', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Shift', 17, N'Shift', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Shift', N'Shift', N'Shift', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'Stock UM', 21, N'Stock UM', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Stock UM', N'Stock UM', N'Stock UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315155943547', N'User Name', 27, N'User Name', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Commit Quantity', 13, N'Commit Quantity', N'', 1, 0, 1, 0, 720, NULL, N'#,###', 0, 0, 0, 0, 0, 0, 0, N'Commit Quantity', N'Commit Quantity', N'Commit Quantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Component Name', 8, N'Component Name', N'', 1, 0, 1, 0, 1800, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Component Name', N'Component Name', N'Component Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Component No.', 7, N'Component No.', N'', 1, 0, 1, 0, 1440, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Component No.', N'Component No.', N'Component No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'From Bin', 15, N'From Bin', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'From Bin', N'From Bin', N'From Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'From Loc', 14, N'From Loc.', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'From Loc.', N'From Loc.', N'From Loc.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Issue No.', 5, N'Issue No.', N'', 1, 0, 1, 0, 1080, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Issue No.', N'Issue No.', N'Issue No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Model', 9, N'Model', N'', 1, 0, 1, 0, 720, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'No.', 4, N'No.', N'', 1, 2, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Post Date', 6, N'Post Date', N'', 1, 0, 1, 0, 720, NULL, N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Purpose', 11, N'Purpose', N'', 1, 0, 1, 0, 1080, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Purpose', N'Purpose', N'Purpose', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Shift', 12, N'Shift', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Shift', N'Shift', N'Shift', 18, 3)
GO
print 'Processed 100 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'To Bin', 17, N'To Bin', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'To Bin', N'To Bin', N'To Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'To Loc', 16, N'To Loc.', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'To Loc.', N'To Loc.', N'To Loc.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'UM', 10, N'UM', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'User Name', 36, N'User Name', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'WO Line', 19, N'WO Line', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'WO Line', N'WO Line', N'WO Line', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060315160033250', N'Work Order No.', 18, N'Work Order No.', N'', 1, 0, 1, 0, 1440, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Work Order No.', N'Work Order No.', N'Work Order No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'Comment', 31, N'Comment', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Comment', N'Comment', N'Comment', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'FromBin', 10, N'From Bin', N'', 1, 0, 1, 0, 576, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'From Bin', N'From Bin', N'From Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'FromLocation', 18, N'FromLocation', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'FromLocation', N'FromLocation', N'FromLocation', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'Model', 6, N'Model', N'', 1, 0, 1, 0, 504, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'No', 1, N'No', N'', 1, 2, 1, 0, 216, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'No', N'No', N'No', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'PartName', 5, N'Part Name', N'', 1, 0, 1, 0, 2160, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'PartNo', 4, N'Part No.', N'', 1, 0, 1, 0, 1152, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'PartyCode', 14, N'Party Code', N'', 1, 0, 1, 0, 576, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Party Code', N'Party Code', N'Party Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'PartyName', 15, N'Party Name', N'', 1, 0, 1, 0, 2160, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Party Name', N'Party Name', N'Party Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'PostDate', 2, N'Post Date', N'', 1, 0, 1, 0, 504, NULL, N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'Purpose', 13, N'Purpose', N'', 1, 0, 1, 0, 576, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Purpose', N'Purpose', N'Purpose', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'Quantity', 8, N'Issue Qty.', N'', 1, 0, 1, 0, 576, NULL, N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Issue Qty.', N'Issue Qty.', N'Issue Qty.', 15, 2)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'ToBin', 12, N'To Bin', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'To Bin', N'To Bin', N'To Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'ToLocation', 11, N'To Loc.', N'', 1, 0, 1, 0, 576, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'To Loc.', N'To Loc.', N'To Loc.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'TransNo', 3, N'Trans. No.', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Trans. No.', N'Trans. No.', N'Trans. No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'UM', 7, N'UM', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316092109937', N'Username', 48, N'User Name', N'', 1, 0, 1, 0, 432, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Customer Code', 12, N'Customer Code', N'', 1, 0, 1, 0, 1080, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Customer Code', N'Customer Code', N'Customer Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Customer Name', 13, N'Customer Name', N'', 1, 0, 1, 0, 1440, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Customer Name', N'Customer Name', N'Customer Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Model', 6, N'Model', N'', 1, 0, 1, 0, 720, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'No.', 1, N'No.', N'', 1, 2, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Part Name', 5, N'Part Name', N'', 1, 0, 1, 0, 1800, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Part No.', 4, N'Part No.', N'', 1, 0, 1, 0, 1440, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Post Date', 2, N'Post Date', N'', 1, 0, 1, 0, 720, NULL, N'dd-MM-yyyy HH:mm', 1, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Return Quantity', 8, N'Return Quantity', N'', 1, 0, 1, 0, 720, NULL, N'#,###.00', 0, 0, 0, 0, 0, 0, 0, N'Return Quantity', N'Return Quantity', N'Return Quantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'RGR No.', 3, N'RGR No.', N'', 1, 0, 1, 0, 720, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'RGR No.', N'RGR No.', N'RGR No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Sale Order No.', 11, N'Sale Order No.', N'', 1, 0, 1, 0, 1080, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Sale Order No.', N'Sale Order No.', N'Sale Order No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'Selling UM', 7, N'Selling UM', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Selling UM', N'Selling UM', N'Selling UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'To Bin', 10, N'To Bin', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'To Bin', N'To Bin', N'To Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'To Location', 9, N'To Location', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'To Location', N'To Location', N'To Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060316112942170', N'User Name', 27, N'User Name', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Buying UM', 8, N'Buying UM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Buying UM', N'Buying UM', N'Buying UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'From Bin', 11, N'From Bin', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'From Bin', N'From Bin', N'From Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'From Location', 10, N'From Location', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'From Location', N'From Location', N'From Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Model', 7, N'Model', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'No.', 2, N'No.', N'', 1, 2, 1, 0, 360, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Part Name', 6, N'Part Name', N'', 1, 0, 1, 0, 1800, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Part No.', 5, N'Part No.', N'', 1, 0, 1, 0, 1440, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Part No.', N'Part No.', N'Part No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Post Date', 3, N'Post Date', N'', 1, 0, 1, 0, 1080, N'', N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Purchase Order No.', 12, N'Purchase Order No.', N'', 1, 0, 1, 0, 1080, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Purchase Order No.', N'Purchase Order No.', N'Purchase Order No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Return No.', 4, N'Return No.', N'', 1, 0, 1, 0, 1080, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Return No.', N'Return No.', N'Return No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Return Quantity', 9, N'Return Quantity', N'', 1, 0, 1, 0, 720, N'', N'#,##0.00', 0, 0, 0, 0, 0, 0, 0, N'Return Quantity', N'Return Quantity', N'Return Quantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'User Name', 28, N'User Name', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Vendor Code', 13, N'Vendor Code', N'', 1, 0, 1, 0, 1080, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Vendor Code', N'Vendor Code', N'Vendor Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317095811873', N'Vendor Name', 14, N'Vendor Name', N'', 1, 0, 1, 0, 1440, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Vendor Name', N'Vendor Name', N'Vendor Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'BuyingUM', 11, N'Buying UM', N'', 1, 0, 1, 0, 360, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Buying UM', N'Buying UM', N'Buying UM', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'DeliveryLine', 15, N'Del. Line', N'', 1, 0, 1, 0, 288, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Del. Line', N'Del. Line', N'Del. Line', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'Model', 10, N'Model', N'', 1, 0, 1, 0, 504, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'No', 1, N'No', N'', 1, 2, 1, 0, 216, N'', N'', 1, 0, 0, 0, 0, 0, 0, N'No', N'No', N'No', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'PartName', 9, N'Part Name', N'', 1, 0, 1, 0, 1728, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'PartNumber', 8, N'Part Number', N'', 1, 0, 1, 0, 1080, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Part Number', N'Part Number', N'Part Number', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'POLine', 14, N'PO Line', N'', 1, 0, 1, 0, 360, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PO Line', N'PO Line', N'PO Line', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'PONo', 13, N'PO No.', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PO No.', N'PO No.', N'PO No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'Postdate', 2, N'Post Date', N'', 1, 0, 1, 0, 504, N'', N'dd-MM-yyyy HH:mm', 1, 0, 0, 0, 0, 0, 0, N'Post Date', N'Post Date', N'Post Date', 16, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ProductionLine', 19, N'Production Line', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Production Line', N'Production Line', N'Production Line', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ReceiptType', 7, N'Type', N'', 0, 0, 1, 0, 360, N'', N'', 1, 0, 0, 0, 0, 0, 0, N'Type', N'Type', N'Type', 6, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ReceiveNo', 3, N'Receive No', N'', 1, 0, 1, 0, 1368, N'', N'', 1, 0, 0, 0, 0, 0, 0, N'Receive No', N'Receive No', N'Receive No', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ReceiveQuantity', 12, N'Receipt Qty.', N'', 1, 0, 1, 0, 720, N'', N'##############,0.00', 0, 0, 0, 0, 0, 0, 0, N'Receipt Qty.', N'Receipt Qty.', N'Receipt Qty.', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ScheduleDate', 16, N'Schedule Date', N'', 1, 0, 1, 0, 720, N'', N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Schedule Date', N'Schedule Date', N'Schedule Date', 16, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'SlipNo', 4, N'Slip No./Invoice No.', N'', 1, 0, 1, 0, 936, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Slip No./Invoice No.', N'Slip No./Invoice No.', N'Slip No./Invoice No.', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ToBin', 18, N'To Bin', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'To Bin', N'To Bin', N'To Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'ToLocation', 17, N'To Location', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'To Location', N'To Location', N'To Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'Type', 6, N'Type', N'', 1, 0, 1, 0, 648, N'', N'', 1, 0, 0, 0, 0, 0, 0, N'Type', N'Type', N'Type', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'UserName', 39, N'User Name', N'', 1, 0, 1, 0, 504, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060317104452607', N'VendorCode', 5, N'Vendor', N'', 1, 0, 1, 0, 504, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Vendor', N'Vendor', N'Vendor', 18, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'BeginStock', 7, N'BeginStock', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginStock', N'BeginStock', N'BeginStock', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'BOM_Quantity', 8, N'BOM_Quantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BOM_Quantity', N'BOM_Quantity', N'BOM_Quantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'BuyingUM', 264, N'BuyingUM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BuyingUM', N'BuyingUM', N'BuyingUM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildProductID', 267, N'ChildProductID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildProductID', N'ChildProductID', N'ChildProductID', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_1', 14, N'ChildReturn_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_1', N'ChildReturn_1', N'ChildReturn_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_10', 86, N'ChildReturn_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_10', N'ChildReturn_10', N'ChildReturn_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_11', 94, N'ChildReturn_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_11', N'ChildReturn_11', N'ChildReturn_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_12', 102, N'ChildReturn_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_12', N'ChildReturn_12', N'ChildReturn_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_13', 110, N'ChildReturn_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_13', N'ChildReturn_13', N'ChildReturn_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_14', 118, N'ChildReturn_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_14', N'ChildReturn_14', N'ChildReturn_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_15', 126, N'ChildReturn_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_15', N'ChildReturn_15', N'ChildReturn_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_16', 134, N'ChildReturn_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_16', N'ChildReturn_16', N'ChildReturn_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_17', 142, N'ChildReturn_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_17', N'ChildReturn_17', N'ChildReturn_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_18', 150, N'ChildReturn_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_18', N'ChildReturn_18', N'ChildReturn_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_19', 158, N'ChildReturn_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_19', N'ChildReturn_19', N'ChildReturn_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_2', 22, N'ChildReturn_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_2', N'ChildReturn_2', N'ChildReturn_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_20', 166, N'ChildReturn_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_20', N'ChildReturn_20', N'ChildReturn_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_21', 174, N'ChildReturn_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_21', N'ChildReturn_21', N'ChildReturn_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_22', 182, N'ChildReturn_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_22', N'ChildReturn_22', N'ChildReturn_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_23', 190, N'ChildReturn_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_23', N'ChildReturn_23', N'ChildReturn_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_24', 198, N'ChildReturn_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_24', N'ChildReturn_24', N'ChildReturn_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_25', 206, N'ChildReturn_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_25', N'ChildReturn_25', N'ChildReturn_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_26', 214, N'ChildReturn_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_26', N'ChildReturn_26', N'ChildReturn_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_27', 222, N'ChildReturn_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_27', N'ChildReturn_27', N'ChildReturn_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_28', 230, N'ChildReturn_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_28', N'ChildReturn_28', N'ChildReturn_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_29', 238, N'ChildReturn_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_29', N'ChildReturn_29', N'ChildReturn_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_3', 30, N'ChildReturn_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_3', N'ChildReturn_3', N'ChildReturn_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_30', 246, N'ChildReturn_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_30', N'ChildReturn_30', N'ChildReturn_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_31', 254, N'ChildReturn_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_31', N'ChildReturn_31', N'ChildReturn_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_4', 38, N'ChildReturn_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_4', N'ChildReturn_4', N'ChildReturn_4', 15, 3)
GO
print 'Processed 200 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_5', 46, N'ChildReturn_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_5', N'ChildReturn_5', N'ChildReturn_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_6', 54, N'ChildReturn_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_6', N'ChildReturn_6', N'ChildReturn_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_7', 62, N'ChildReturn_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_7', N'ChildReturn_7', N'ChildReturn_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_8', 70, N'ChildReturn_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_8', N'ChildReturn_8', N'ChildReturn_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ChildReturn_9', 78, N'ChildReturn_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ChildReturn_9', N'ChildReturn_9', N'ChildReturn_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Code', 4, N'Code', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Code', N'Code', N'Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Description', 5, N'Description', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Description', N'Description', N'Description', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_1', 12, N'Destroy_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_1', N'Destroy_1', N'Destroy_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_10', 84, N'Destroy_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_10', N'Destroy_10', N'Destroy_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_11', 92, N'Destroy_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_11', N'Destroy_11', N'Destroy_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_12', 100, N'Destroy_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_12', N'Destroy_12', N'Destroy_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_13', 108, N'Destroy_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_13', N'Destroy_13', N'Destroy_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_14', 116, N'Destroy_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_14', N'Destroy_14', N'Destroy_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_15', 124, N'Destroy_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_15', N'Destroy_15', N'Destroy_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_16', 132, N'Destroy_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_16', N'Destroy_16', N'Destroy_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_17', 140, N'Destroy_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_17', N'Destroy_17', N'Destroy_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_18', 148, N'Destroy_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_18', N'Destroy_18', N'Destroy_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_19', 156, N'Destroy_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_19', N'Destroy_19', N'Destroy_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_2', 20, N'Destroy_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_2', N'Destroy_2', N'Destroy_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_20', 164, N'Destroy_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_20', N'Destroy_20', N'Destroy_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_21', 172, N'Destroy_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_21', N'Destroy_21', N'Destroy_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_22', 180, N'Destroy_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_22', N'Destroy_22', N'Destroy_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_23', 188, N'Destroy_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_23', N'Destroy_23', N'Destroy_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_24', 196, N'Destroy_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_24', N'Destroy_24', N'Destroy_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_25', 204, N'Destroy_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_25', N'Destroy_25', N'Destroy_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_26', 212, N'Destroy_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_26', N'Destroy_26', N'Destroy_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_27', 220, N'Destroy_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_27', N'Destroy_27', N'Destroy_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_28', 228, N'Destroy_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_28', N'Destroy_28', N'Destroy_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_29', 236, N'Destroy_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_29', N'Destroy_29', N'Destroy_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_3', 28, N'Destroy_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_3', N'Destroy_3', N'Destroy_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_30', 244, N'Destroy_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_30', N'Destroy_30', N'Destroy_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_31', 252, N'Destroy_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_31', N'Destroy_31', N'Destroy_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_4', 36, N'Destroy_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_4', N'Destroy_4', N'Destroy_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_5', 44, N'Destroy_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_5', N'Destroy_5', N'Destroy_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_6', 52, N'Destroy_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_6', N'Destroy_6', N'Destroy_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_7', 60, N'Destroy_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_7', N'Destroy_7', N'Destroy_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_8', 68, N'Destroy_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_8', N'Destroy_8', N'Destroy_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Destroy_9', 76, N'Destroy_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Destroy_9', N'Destroy_9', N'Destroy_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'IsParent', 6, N'IsParent', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'IsParent', N'IsParent', N'IsParent', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_1', 13, N'Issue_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_1', N'Issue_1', N'Issue_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_10', 85, N'Issue_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_10', N'Issue_10', N'Issue_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_11', 93, N'Issue_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_11', N'Issue_11', N'Issue_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_12', 101, N'Issue_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_12', N'Issue_12', N'Issue_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_13', 109, N'Issue_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_13', N'Issue_13', N'Issue_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_14', 117, N'Issue_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_14', N'Issue_14', N'Issue_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_15', 125, N'Issue_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_15', N'Issue_15', N'Issue_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_16', 133, N'Issue_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_16', N'Issue_16', N'Issue_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_17', 141, N'Issue_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_17', N'Issue_17', N'Issue_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_18', 149, N'Issue_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_18', N'Issue_18', N'Issue_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_19', 157, N'Issue_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_19', N'Issue_19', N'Issue_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_2', 21, N'Issue_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_2', N'Issue_2', N'Issue_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_20', 165, N'Issue_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_20', N'Issue_20', N'Issue_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_21', 173, N'Issue_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_21', N'Issue_21', N'Issue_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_22', 181, N'Issue_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_22', N'Issue_22', N'Issue_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_23', 189, N'Issue_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_23', N'Issue_23', N'Issue_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_24', 197, N'Issue_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_24', N'Issue_24', N'Issue_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_25', 205, N'Issue_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_25', N'Issue_25', N'Issue_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_26', 213, N'Issue_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_26', N'Issue_26', N'Issue_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_27', 221, N'Issue_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_27', N'Issue_27', N'Issue_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_28', 229, N'Issue_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_28', N'Issue_28', N'Issue_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_29', 237, N'Issue_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_29', N'Issue_29', N'Issue_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_3', 29, N'Issue_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_3', N'Issue_3', N'Issue_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_30', 245, N'Issue_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_30', N'Issue_30', N'Issue_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_31', 253, N'Issue_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_31', N'Issue_31', N'Issue_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_4', 37, N'Issue_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_4', N'Issue_4', N'Issue_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_5', 45, N'Issue_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_5', N'Issue_5', N'Issue_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_6', 53, N'Issue_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_6', N'Issue_6', N'Issue_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_7', 61, N'Issue_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_7', N'Issue_7', N'Issue_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_8', 69, N'Issue_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_8', N'Issue_8', N'Issue_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Issue_9', 77, N'Issue_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Issue_9', N'Issue_9', N'Issue_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_1', 9, N'Order_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_1', N'Order_1', N'Order_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_10', 81, N'Order_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_10', N'Order_10', N'Order_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_11', 89, N'Order_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_11', N'Order_11', N'Order_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_12', 97, N'Order_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_12', N'Order_12', N'Order_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_13', 105, N'Order_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_13', N'Order_13', N'Order_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_14', 113, N'Order_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_14', N'Order_14', N'Order_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_15', 121, N'Order_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_15', N'Order_15', N'Order_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_16', 129, N'Order_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_16', N'Order_16', N'Order_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_17', 137, N'Order_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_17', N'Order_17', N'Order_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_18', 145, N'Order_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_18', N'Order_18', N'Order_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_19', 153, N'Order_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_19', N'Order_19', N'Order_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_2', 17, N'Order_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_2', N'Order_2', N'Order_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_20', 161, N'Order_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_20', N'Order_20', N'Order_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_21', 169, N'Order_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_21', N'Order_21', N'Order_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_22', 177, N'Order_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_22', N'Order_22', N'Order_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_23', 185, N'Order_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_23', N'Order_23', N'Order_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_24', 193, N'Order_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_24', N'Order_24', N'Order_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_25', 201, N'Order_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_25', N'Order_25', N'Order_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_26', 209, N'Order_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_26', N'Order_26', N'Order_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_27', 217, N'Order_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_27', N'Order_27', N'Order_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_28', 225, N'Order_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_28', N'Order_28', N'Order_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_29', 233, N'Order_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_29', N'Order_29', N'Order_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_3', 25, N'Order_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_3', N'Order_3', N'Order_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_30', 241, N'Order_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_30', N'Order_30', N'Order_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_31', 249, N'Order_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_31', N'Order_31', N'Order_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_4', 33, N'Order_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_4', N'Order_4', N'Order_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_5', 41, N'Order_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_5', N'Order_5', N'Order_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_6', 49, N'Order_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_6', N'Order_6', N'Order_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_7', 57, N'Order_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_7', N'Order_7', N'Order_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_8', 65, N'Order_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_8', N'Order_8', N'Order_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Order_9', 73, N'Order_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Order_9', N'Order_9', N'Order_9', 15, 3)
GO
print 'Processed 300 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentID', 273, N'ParentID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentID', N'ParentID', N'ParentID', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_1', 11, N'ParentReturn_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_1', N'ParentReturn_1', N'ParentReturn_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_10', 83, N'ParentReturn_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_10', N'ParentReturn_10', N'ParentReturn_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_11', 91, N'ParentReturn_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_11', N'ParentReturn_11', N'ParentReturn_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_12', 99, N'ParentReturn_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_12', N'ParentReturn_12', N'ParentReturn_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_13', 107, N'ParentReturn_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_13', N'ParentReturn_13', N'ParentReturn_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_14', 115, N'ParentReturn_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_14', N'ParentReturn_14', N'ParentReturn_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_15', 123, N'ParentReturn_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_15', N'ParentReturn_15', N'ParentReturn_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_16', 131, N'ParentReturn_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_16', N'ParentReturn_16', N'ParentReturn_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_17', 139, N'ParentReturn_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_17', N'ParentReturn_17', N'ParentReturn_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_18', 147, N'ParentReturn_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_18', N'ParentReturn_18', N'ParentReturn_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_19', 155, N'ParentReturn_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_19', N'ParentReturn_19', N'ParentReturn_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_2', 19, N'ParentReturn_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_2', N'ParentReturn_2', N'ParentReturn_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_20', 163, N'ParentReturn_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_20', N'ParentReturn_20', N'ParentReturn_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_21', 171, N'ParentReturn_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_21', N'ParentReturn_21', N'ParentReturn_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_22', 179, N'ParentReturn_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_22', N'ParentReturn_22', N'ParentReturn_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_23', 187, N'ParentReturn_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_23', N'ParentReturn_23', N'ParentReturn_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_24', 195, N'ParentReturn_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_24', N'ParentReturn_24', N'ParentReturn_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_25', 203, N'ParentReturn_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_25', N'ParentReturn_25', N'ParentReturn_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_26', 211, N'ParentReturn_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_26', N'ParentReturn_26', N'ParentReturn_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_27', 219, N'ParentReturn_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_27', N'ParentReturn_27', N'ParentReturn_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_28', 227, N'ParentReturn_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_28', N'ParentReturn_28', N'ParentReturn_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_29', 235, N'ParentReturn_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_29', N'ParentReturn_29', N'ParentReturn_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_3', 27, N'ParentReturn_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_3', N'ParentReturn_3', N'ParentReturn_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_30', 243, N'ParentReturn_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_30', N'ParentReturn_30', N'ParentReturn_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_31', 251, N'ParentReturn_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_31', N'ParentReturn_31', N'ParentReturn_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_4', 35, N'ParentReturn_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_4', N'ParentReturn_4', N'ParentReturn_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_5', 43, N'ParentReturn_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_5', N'ParentReturn_5', N'ParentReturn_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_6', 51, N'ParentReturn_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_6', N'ParentReturn_6', N'ParentReturn_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_7', 59, N'ParentReturn_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_7', N'ParentReturn_7', N'ParentReturn_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_8', 67, N'ParentReturn_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_8', N'ParentReturn_8', N'ParentReturn_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ParentReturn_9', 75, N'ParentReturn_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentReturn_9', N'ParentReturn_9', N'ParentReturn_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'ProductID', 2, N'ProductID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_1', 10, N'Receipt_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_1', N'Receipt_1', N'Receipt_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_10', 82, N'Receipt_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_10', N'Receipt_10', N'Receipt_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_11', 90, N'Receipt_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_11', N'Receipt_11', N'Receipt_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_12', 98, N'Receipt_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_12', N'Receipt_12', N'Receipt_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_13', 106, N'Receipt_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_13', N'Receipt_13', N'Receipt_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_14', 114, N'Receipt_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_14', N'Receipt_14', N'Receipt_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_15', 122, N'Receipt_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_15', N'Receipt_15', N'Receipt_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_16', 130, N'Receipt_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_16', N'Receipt_16', N'Receipt_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_17', 138, N'Receipt_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_17', N'Receipt_17', N'Receipt_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_18', 146, N'Receipt_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_18', N'Receipt_18', N'Receipt_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_19', 154, N'Receipt_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_19', N'Receipt_19', N'Receipt_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_2', 18, N'Receipt_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_2', N'Receipt_2', N'Receipt_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_20', 162, N'Receipt_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_20', N'Receipt_20', N'Receipt_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_21', 170, N'Receipt_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_21', N'Receipt_21', N'Receipt_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_22', 178, N'Receipt_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_22', N'Receipt_22', N'Receipt_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_23', 186, N'Receipt_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_23', N'Receipt_23', N'Receipt_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_24', 194, N'Receipt_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_24', N'Receipt_24', N'Receipt_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_25', 202, N'Receipt_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_25', N'Receipt_25', N'Receipt_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_26', 210, N'Receipt_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_26', N'Receipt_26', N'Receipt_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_27', 218, N'Receipt_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_27', N'Receipt_27', N'Receipt_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_28', 226, N'Receipt_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_28', N'Receipt_28', N'Receipt_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_29', 234, N'Receipt_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_29', N'Receipt_29', N'Receipt_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_3', 26, N'Receipt_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_3', N'Receipt_3', N'Receipt_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_30', 242, N'Receipt_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_30', N'Receipt_30', N'Receipt_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_31', 250, N'Receipt_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_31', N'Receipt_31', N'Receipt_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_4', 34, N'Receipt_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_4', N'Receipt_4', N'Receipt_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_5', 42, N'Receipt_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_5', N'Receipt_5', N'Receipt_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_6', 50, N'Receipt_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_6', N'Receipt_6', N'Receipt_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_7', 58, N'Receipt_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_7', N'Receipt_7', N'Receipt_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_8', 66, N'Receipt_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_8', N'Receipt_8', N'Receipt_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Receipt_9', 74, N'Receipt_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Receipt_9', N'Receipt_9', N'Receipt_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Revision', 3, N'Revision', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Revision', N'Revision', N'Revision', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'RowIndex', 1, N'RowIndex', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'RowIndex', N'RowIndex', N'RowIndex', 7, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_1', 15, N'Shortage_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_1', N'Shortage_1', N'Shortage_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_10', 87, N'Shortage_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_10', N'Shortage_10', N'Shortage_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_11', 95, N'Shortage_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_11', N'Shortage_11', N'Shortage_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_12', 103, N'Shortage_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_12', N'Shortage_12', N'Shortage_12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_13', 111, N'Shortage_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_13', N'Shortage_13', N'Shortage_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_14', 119, N'Shortage_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_14', N'Shortage_14', N'Shortage_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_15', 127, N'Shortage_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_15', N'Shortage_15', N'Shortage_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_16', 135, N'Shortage_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_16', N'Shortage_16', N'Shortage_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_17', 143, N'Shortage_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_17', N'Shortage_17', N'Shortage_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_18', 151, N'Shortage_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_18', N'Shortage_18', N'Shortage_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_19', 159, N'Shortage_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_19', N'Shortage_19', N'Shortage_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_2', 23, N'Shortage_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_2', N'Shortage_2', N'Shortage_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_20', 167, N'Shortage_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_20', N'Shortage_20', N'Shortage_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_21', 175, N'Shortage_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_21', N'Shortage_21', N'Shortage_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_22', 183, N'Shortage_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_22', N'Shortage_22', N'Shortage_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_23', 191, N'Shortage_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_23', N'Shortage_23', N'Shortage_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_24', 199, N'Shortage_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_24', N'Shortage_24', N'Shortage_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_25', 207, N'Shortage_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_25', N'Shortage_25', N'Shortage_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_26', 215, N'Shortage_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_26', N'Shortage_26', N'Shortage_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_27', 223, N'Shortage_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_27', N'Shortage_27', N'Shortage_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_28', 231, N'Shortage_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_28', N'Shortage_28', N'Shortage_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_29', 239, N'Shortage_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_29', N'Shortage_29', N'Shortage_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_3', 31, N'Shortage_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_3', N'Shortage_3', N'Shortage_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_30', 247, N'Shortage_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_30', N'Shortage_30', N'Shortage_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_31', 255, N'Shortage_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_31', N'Shortage_31', N'Shortage_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_4', 39, N'Shortage_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_4', N'Shortage_4', N'Shortage_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_5', 47, N'Shortage_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_5', N'Shortage_5', N'Shortage_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_6', 55, N'Shortage_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_6', N'Shortage_6', N'Shortage_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_7', 63, N'Shortage_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_7', N'Shortage_7', N'Shortage_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_8', 71, N'Shortage_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_8', N'Shortage_8', N'Shortage_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Shortage_9', 79, N'Shortage_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shortage_9', N'Shortage_9', N'Shortage_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_1', 16, N'Stock_1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_1', N'Stock_1', N'Stock_1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_10', 88, N'Stock_10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_10', N'Stock_10', N'Stock_10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_11', 96, N'Stock_11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_11', N'Stock_11', N'Stock_11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_12', 104, N'Stock_12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_12', N'Stock_12', N'Stock_12', 15, 3)
GO
print 'Processed 400 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_13', 112, N'Stock_13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_13', N'Stock_13', N'Stock_13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_14', 120, N'Stock_14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_14', N'Stock_14', N'Stock_14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_15', 128, N'Stock_15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_15', N'Stock_15', N'Stock_15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_16', 136, N'Stock_16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_16', N'Stock_16', N'Stock_16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_17', 144, N'Stock_17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_17', N'Stock_17', N'Stock_17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_18', 152, N'Stock_18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_18', N'Stock_18', N'Stock_18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_19', 160, N'Stock_19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_19', N'Stock_19', N'Stock_19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_2', 24, N'Stock_2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_2', N'Stock_2', N'Stock_2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_20', 168, N'Stock_20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_20', N'Stock_20', N'Stock_20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_21', 176, N'Stock_21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_21', N'Stock_21', N'Stock_21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_22', 184, N'Stock_22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_22', N'Stock_22', N'Stock_22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_23', 192, N'Stock_23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_23', N'Stock_23', N'Stock_23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_24', 200, N'Stock_24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_24', N'Stock_24', N'Stock_24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_25', 208, N'Stock_25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_25', N'Stock_25', N'Stock_25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_26', 216, N'Stock_26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_26', N'Stock_26', N'Stock_26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_27', 224, N'Stock_27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_27', N'Stock_27', N'Stock_27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_28', 232, N'Stock_28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_28', N'Stock_28', N'Stock_28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_29', 240, N'Stock_29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_29', N'Stock_29', N'Stock_29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_3', 32, N'Stock_3', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_3', N'Stock_3', N'Stock_3', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_30', 248, N'Stock_30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_30', N'Stock_30', N'Stock_30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_31', 256, N'Stock_31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_31', N'Stock_31', N'Stock_31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_4', 40, N'Stock_4', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_4', N'Stock_4', N'Stock_4', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_5', 48, N'Stock_5', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_5', N'Stock_5', N'Stock_5', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_6', 56, N'Stock_6', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_6', N'Stock_6', N'Stock_6', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_7', 64, N'Stock_7', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_7', N'Stock_7', N'Stock_7', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_8', 72, N'Stock_8', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_8', N'Stock_8', N'Stock_8', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'Stock_9', 80, N'Stock_9', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Stock_9', N'Stock_9', N'Stock_9', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalChildReturn', 261, N'TotalChildReturn', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalChildReturn', N'TotalChildReturn', N'TotalChildReturn', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalDestroy', 257, N'TotalDestroy', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalDestroy', N'TotalDestroy', N'TotalDestroy', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalIssue', 262, N'TotalIssue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalIssue', N'TotalIssue', N'TotalIssue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalOrder', 258, N'TotalOrder', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalOrder', N'TotalOrder', N'TotalOrder', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalParentReturn', 259, N'TotalParentReturn', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalParentReturn', N'TotalParentReturn', N'TotalParentReturn', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalReceipt', 260, N'TotalReceipt', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalReceipt', N'TotalReceipt', N'TotalReceipt', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060327175240793', N'TotalStock', 263, N'TotalStock', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalStock', N'TotalStock', N'TotalStock', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'AdditionalCharge', 13, N'AdditionalCharge', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'AdditionalCharge', N'AdditionalCharge', N'AdditionalCharge', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'Amount', 10, N'Amount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Amount', N'Amount', N'Amount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'BinCode', 18, N'BinCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BinCode', N'BinCode', N'BinCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'BuyingUM', 6, N'BuyingUM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BuyingUM', N'BuyingUM', N'BuyingUM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'CategoryCode', 7, N'CategoryCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CategoryCode', N'CategoryCode', N'CategoryCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'CurrencyCode', 19, N'CurrencyCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CurrencyCode', N'CurrencyCode', N'CurrencyCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'FreightAmount', 12, N'FreightAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'FreightAmount', N'FreightAmount', N'FreightAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'ImportTax', 11, N'ImportTax', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ImportTax', N'ImportTax', N'ImportTax', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'LocationCode', 17, N'LocationCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LocationCode', N'LocationCode', N'LocationCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'PartModel', 5, N'PartModel', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartModel', N'PartModel', N'PartModel', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'PartName', 4, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'PartNo', 3, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'PaymentAmount', 16, N'PaymentAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PaymentAmount', N'PaymentAmount', N'PaymentAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'PostDate', 1, N'PostDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PostDate', N'PostDate', N'PostDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'ReceiveNo', 2, N'ReceiveNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReceiveNo', N'ReceiveNo', N'ReceiveNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'ReceiveQuantity', 8, N'ReceiveQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReceiveQuantity', N'ReceiveQuantity', N'ReceiveQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'TotalAmount', 14, N'TotalAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TotalAmount', N'TotalAmount', N'TotalAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'UnitPrice', 9, N'UnitPrice', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'UnitPrice', N'UnitPrice', N'UnitPrice', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060415162029937', N'VATAmount', 15, N'VATAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'VATAmount', N'VATAmount', N'VATAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'BeginItemCost', 28, N'BeginItemCost', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginItemCost', N'BeginItemCost', N'BeginItemCost', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'BeginStock', 9, N'BeginStock', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginStock', N'BeginStock', N'BeginStock', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'BeginValue', 23, N'BeginValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginValue', N'BeginValue', N'BeginValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'CategoryCode', 7, N'CategoryCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CategoryCode', N'CategoryCode', N'CategoryCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'EndQuantity', 30, N'EndQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'EndQuantity', N'EndQuantity', N'EndQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'EndValue', 31, N'EndValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'EndValue', N'EndValue', N'EndValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'InQuantity', 10, N'InQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'InQuantity', N'InQuantity', N'InQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'InValue', 25, N'InValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'InValue', N'InValue', N'InValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'ItemCost', 12, N'ItemCost', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ItemCost', N'ItemCost', N'ItemCost', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'LocationCode', 3, N'LocationCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LocationCode', N'LocationCode', N'LocationCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'LocationID', 14, N'LocationID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LocationID', N'LocationID', N'LocationID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'No.', 13, N'No.', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'OutQuantity', 11, N'OutQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OutQuantity', N'OutQuantity', N'OutQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'OutValue', 27, N'OutValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OutValue', N'OutValue', N'OutValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'PartModel', 6, N'PartModel', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartModel', N'PartModel', N'PartModel', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'PartName', 5, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'PartNO', 18, N'PartNO', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNO', N'PartNO', N'PartNO', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'ProductID', 16, N'ProductID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060417180732373', N'StockUM', 8, N'StockUM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'StockUM', N'StockUM', N'StockUM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'Activate', 9, N'Activate', N'', 1, 0, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Activate', N'Activate', N'Activate', 3, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'Created Date', 10, N'Created Date', N'', 1, 0, 1, 0, 720, NULL, N'dd-MM-yyyy HH:mm', 0, 0, 0, 0, 0, 0, 0, N'Created Date', N'Created Date', N'Created Date', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'Department', 11, N'Department', N'', 1, 0, 1, 0, 1080, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Department', N'Department', N'Department', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'Description', 12, N'Description', N'', 1, 0, 1, 0, 1080, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Description', N'Description', N'Description', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'Employee', 3, N'Employee', N'', 1, 0, 1, 0, 1440, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Employee', N'Employee', N'Employee', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'No.', 1, N'No.', N'', 1, 2, 1, 0, 360, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 1)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'Role', 4, N'Role', N'', 1, 0, 1, 0, 1800, NULL, N'', 1, 1, 0, 0, 0, 0, 0, N'Role', N'Role', N'Role', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060418145330543', N'User Name', 2, N'User Name', N'', 1, 0, 1, 0, 720, NULL, N'', 1, 0, 0, 0, 0, 0, 0, N'User Name', N'User Name', N'User Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'Category', 5, N'Category', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Category', N'Category', N'Category', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'CategoryID', 15, N'CategoryID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CategoryID', N'CategoryID', N'CategoryID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'Description', 2, N'Part Name', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Part Name', N'Part Name', N'Part Name', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'PartNo', 1, N'Part Number', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Part Number', N'Part Number', N'Part Number', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'PartyCode', 8, N'Vendor Code', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Vendor Code', N'Vendor Code', N'Vendor Code', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'PartyID', 19, N'PartyID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartyID', N'PartyID', N'PartyID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'ProductID', 18, N'ProductID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'ProductTypeID', 16, N'ProductTypeID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductTypeID', N'ProductTypeID', N'ProductTypeID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'RCVAmount', 10, N'RCVAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'RCVAmount', N'RCVAmount', N'RCVAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'ReceiptQty', 9, N'ReceiptQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReceiptQty', N'ReceiptQty', N'ReceiptQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'ReturnAmount', 13, N'ReturnAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReturnAmount', N'ReturnAmount', N'ReturnAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'ReturnQty', 12, N'ReturnQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReturnQty', N'ReturnQty', N'ReturnQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'Revision', 3, N'Model', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'RT_VATAmount', 14, N'RT_VATAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'RT_VATAmount', N'RT_VATAmount', N'RT_VATAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'StockUMID', 17, N'StockUMID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'StockUMID', N'StockUMID', N'StockUMID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'Type', 6, N'Type', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Type', N'Type', N'Type', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'UM', 4, N'UM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'VAT', 7, N'VAT', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'VAT', N'VAT', N'VAT', 14, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060916165135890', N'VATAmount', 11, N'VATAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'VATAmount', N'VATAmount', N'VATAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd01', 3, N'd01', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd01', N'd01', N'd01', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd02', 4, N'd02', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd02', N'd02', N'd02', 15, 3)
GO
print 'Processed 500 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd03', 5, N'd03', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd03', N'd03', N'd03', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd04', 6, N'd04', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd04', N'd04', N'd04', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd05', 7, N'd05', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd05', N'd05', N'd05', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd06', 8, N'd06', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd06', N'd06', N'd06', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd07', 9, N'd07', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd07', N'd07', N'd07', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd08', 10, N'd08', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd08', N'd08', N'd08', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd09', 11, N'd09', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd09', N'd09', N'd09', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd10', 12, N'd10', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd10', N'd10', N'd10', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd11', 13, N'd11', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd11', N'd11', N'd11', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd12', 14, N'd12', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd12', N'd12', N'd12', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd13', 15, N'd13', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd13', N'd13', N'd13', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd14', 16, N'd14', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd14', N'd14', N'd14', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd15', 17, N'd15', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd15', N'd15', N'd15', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd16', 18, N'd16', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd16', N'd16', N'd16', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd17', 19, N'd17', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd17', N'd17', N'd17', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd18', 20, N'd18', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd18', N'd18', N'd18', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd19', 21, N'd19', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd19', N'd19', N'd19', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd20', 22, N'd20', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd20', N'd20', N'd20', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd21', 23, N'd21', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd21', N'd21', N'd21', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd22', 24, N'd22', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd22', N'd22', N'd22', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd23', 25, N'd23', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd23', N'd23', N'd23', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd24', 26, N'd24', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd24', N'd24', N'd24', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd25', 27, N'd25', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd25', N'd25', N'd25', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd26', 28, N'd26', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd26', N'd26', N'd26', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd27', 29, N'd27', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd27', N'd27', N'd27', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd28', 30, N'd28', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd28', N'd28', N'd28', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd29', 31, N'd29', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd29', N'd29', N'd29', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd30', 32, N'd30', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd30', N'd30', N'd30', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'd31', 33, N'd31', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'd31', N'd31', N'd31', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'Item', 37, N'Item', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Item', N'Item', N'Item', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'MakerCode', 35, N'MakerCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'MakerCode', N'MakerCode', N'MakerCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'MakerID', 1, N'MakerID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'MakerID', N'MakerID', N'MakerID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'PartyCode', 36, N'PartyCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartyCode', N'PartyCode', N'PartyCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'PartyID', 34, N'PartyID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartyID', N'PartyID', N'PartyID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20060929114949327', N'ProductID', 2, N'ProductID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'BeginItemCost', 28, N'BeginItemCost', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginItemCost', N'BeginItemCost', N'BeginItemCost', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'BeginStock', 9, N'BeginStock', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginStock', N'BeginStock', N'BeginStock', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'BeginValue', 23, N'BeginValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BeginValue', N'BeginValue', N'BeginValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'CategoryCode', 7, N'CategoryCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CategoryCode', N'CategoryCode', N'CategoryCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'EndQuantity', 30, N'EndQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'EndQuantity', N'EndQuantity', N'EndQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'EndValue', 31, N'EndValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'EndValue', N'EndValue', N'EndValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'InQuantity', 10, N'InQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'InQuantity', N'InQuantity', N'InQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'InValue', 25, N'InValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'InValue', N'InValue', N'InValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'ItemCost', 12, N'ItemCost', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ItemCost', N'ItemCost', N'ItemCost', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'LocationCode', 3, N'LocationCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LocationCode', N'LocationCode', N'LocationCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'LocationID', 14, N'LocationID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LocationID', N'LocationID', N'LocationID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'No.', 13, N'No.', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'No.', N'No.', N'No.', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'OutQuantity', 11, N'OutQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OutQuantity', N'OutQuantity', N'OutQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'OutValue', 27, N'OutValue', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OutValue', N'OutValue', N'OutValue', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'PartModel', 6, N'PartModel', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartModel', N'PartModel', N'PartModel', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'PartName', 5, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'PartNO', 18, N'PartNO', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNO', N'PartNO', N'PartNO', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'ProductID', 16, N'ProductID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061012153040513', N'StockUM', 8, N'StockUM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'StockUM', N'StockUM', N'StockUM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'Date', 2, N'Date', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Date', N'Date', N'Date', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'DCOptionMasterID', 11, N'DCOptionMasterID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DCOptionMasterID', N'DCOptionMasterID', N'DCOptionMasterID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'Model', 7, N'Model', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'OrderNo', 4, N'OrderNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OrderNo', N'OrderNo', N'OrderNo', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'PartName', 6, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'PartNo', 5, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'ProductID', 10, N'ProductID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'Shift', 3, N'Shift', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Shift', N'Shift', N'Shift', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'ShiftID', 8, N'ShiftID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ShiftID', N'ShiftID', N'ShiftID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'WorkCenter', 1, N'WorkCenter', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'WorkCenter', N'WorkCenter', N'WorkCenter', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061109094110013', N'WorkCenterID', 9, N'WorkCenterID', N'', 0, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'WorkCenterID', N'WorkCenterID', N'WorkCenterID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Bin', 5, N'Bin', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Bin', N'Bin', N'Bin', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'BinID', 15, N'BinID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BinID', N'BinID', N'BinID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Category', 6, N'Category', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Category', N'Category', N'Category', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'CategoryID', 7, N'CategoryID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CategoryID', N'CategoryID', N'CategoryID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Column1', 22, N'Column1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Column1', N'Column1', N'Column1', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Department', 3, N'Department', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Department', N'Department', N'Department', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'DepartmentID', 13, N'DepartmentID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DepartmentID', N'DepartmentID', N'DepartmentID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Location', 4, N'Location', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Location', N'Location', N'Location', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'LocationID', 14, N'LocationID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LocationID', N'LocationID', N'LocationID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Model', 9, N'Model', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Month', 2, N'Month', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Month', N'Month', N'Month', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'PartName', 10, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'PartNo', 8, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'PRODUCTID', 16, N'PRODUCTID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PRODUCTID', N'PRODUCTID', N'PRODUCTID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Qty', 12, N'Qty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Qty', N'Qty', N'Qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'UM', 11, N'UM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20061117152107810', N'Year', 1, N'Year', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Year', N'Year', N'Year', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'Addition', 8, N'Addition', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Addition', N'Addition', N'Addition', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'Amount', 7, N'Amount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Amount', N'Amount', N'Amount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'Fgoodscode', 1, N'Fgoodscode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Fgoodscode', N'Fgoodscode', N'Fgoodscode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'months', 6, N'months', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'months', N'months', N'months', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'PartName', 10, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'PartNo', 9, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'Payment', 4, N'Payment', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Payment', N'Payment', N'Payment', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'ProductionLineID', 3, N'ProductionLineID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLineID', N'ProductionLineID', N'ProductionLineID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'qty', 2, N'qty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'qty', N'qty', N'qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128153038553', N'years', 5, N'years', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'years', N'years', N'years', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'Addition', 8, N'Addition', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Addition', N'Addition', N'Addition', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'Amount', 7, N'Amount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Amount', N'Amount', N'Amount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'Fgoodscode', 1, N'Fgoodscode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Fgoodscode', N'Fgoodscode', N'Fgoodscode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'months', 6, N'months', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'months', N'months', N'months', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'PartName', 10, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'PartNo', 9, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'Payment', 4, N'Payment', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Payment', N'Payment', N'Payment', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'ProductionLineID', 3, N'ProductionLineID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLineID', N'ProductionLineID', N'ProductionLineID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'qty', 2, N'qty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'qty', N'qty', N'qty', 15, 3)
GO
print 'Processed 600 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071128162716380', N'years', 5, N'years', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'years', N'years', N'years', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'FGoodsCode', 1, N'FGoodsCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'FGoodsCode', N'FGoodsCode', N'FGoodsCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'OrderQuantity', 6, N'OrderQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OrderQuantity', N'OrderQuantity', N'OrderQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'PartName', 5, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'PartNo', 4, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'ProduceTime', 7, N'ProduceTime', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProduceTime', N'ProduceTime', N'ProduceTime', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'ProductionLine', 8, N'ProductionLine', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLine', N'ProductionLine', N'ProductionLine', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'Status', 3, N'Status', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Status', N'Status', N'Status', 6, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20071213143211780', N'StatusText', 2, N'StatusText', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'StatusText', N'StatusText', N'StatusText', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'CAT', 10, N'CAT', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CAT', N'CAT', N'CAT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'CUA', 17, N'CUA', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CUA', N'CUA', N'CUA', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'CUON', 15, N'CUON', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CUON', N'CUON', N'CUON', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'DUC', 18, N'DUC', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DUC', N'DUC', N'DUC', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'GO', 14, N'GO', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'GO', N'GO', N'GO', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'Group1', 5, N'Group1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Group1', N'Group1', N'Group1', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'Group2', 6, N'Group2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Group2', N'Group2', N'Group2', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'GroupQuantity', 4, N'GroupQuantity', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'GroupQuantity', N'GroupQuantity', N'GroupQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'HAN', 8, N'HAN', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'HAN', N'HAN', N'HAN', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'KHOAN', 12, N'KHOAN', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'KHOAN', N'KHOAN', N'KHOAN', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'LR', 9, N'LR', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LR', N'LR', N'LR', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'LVT', 19, N'LVT', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LVT', N'LVT', N'LVT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'Machitiet', 1, N'Machitiet', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Machitiet', N'Machitiet', N'Machitiet', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'MIET', 13, N'MIET', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'MIET', N'MIET', N'MIET', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'PB', 16, N'PB', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PB', N'PB', N'PB', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'Qty', 3, N'Qty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Qty', N'Qty', N'Qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'Tenchitiet', 2, N'Tenchitiet', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Tenchitiet', N'Tenchitiet', N'Tenchitiet', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'TIEN', 11, N'TIEN', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TIEN', N'TIEN', N'TIEN', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080103134026600', N'TL', 7, N'TL', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TL', N'TL', N'TL', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'BOMQty', 5, N'BOMQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'BOMQty', N'BOMQty', N'BOMQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'MakeItem', 6, N'MakeItem', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'MakeItem', N'MakeItem', N'MakeItem', 3, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'Model', 3, N'Model', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'ParentID', 11, N'ParentID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ParentID', N'ParentID', N'ParentID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'PartName', 2, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'PartNo', 1, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'ProductID', 10, N'ProductID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'ProductionLine', 9, N'ProductionLine', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLine', N'ProductionLine', N'ProductionLine', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'ProductionLineID', 8, N'ProductionLineID', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLineID', N'ProductionLineID', N'ProductionLineID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'UM', 4, N'UM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080110142904590', N'Weight', 7, N'Weight', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Weight', N'Weight', N'Weight', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'CommitDate', 9, N'CommitDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CommitDate', N'CommitDate', N'CommitDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'DT', 5, N'DT', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DT', N'DT', N'DT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'MaSP', 1, N'MaSP', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'MaSP', N'MaSP', N'MaSP', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'Price', 3, N'Price', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Price', N'Price', N'Price', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'ServerDate', 19, N'ServerDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ServerDate', N'ServerDate', N'ServerDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'SHD', 8, N'SHD', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'SHD', N'SHD', N'SHD', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'TenCty', 7, N'TenCty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TenCty', N'TenCty', N'TenCty', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'Tennguoimua', 6, N'Tennguoimua', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Tennguoimua', N'Tennguoimua', N'Tennguoimua', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'TenSP', 2, N'TenSP', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TenSP', N'TenSP', N'TenSP', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214144318077', N'VATAmount', 4, N'VATAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'VATAmount', N'VATAmount', N'VATAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'CommitDate', 9, N'CommitDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'CommitDate', N'CommitDate', N'CommitDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'DT', 5, N'DT', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DT', N'DT', N'DT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'MaSP', 1, N'MaSP', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'MaSP', N'MaSP', N'MaSP', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'Price', 3, N'Price', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Price', N'Price', N'Price', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'ServerDate', 20, N'ServerDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ServerDate', N'ServerDate', N'ServerDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'SHD', 8, N'SHD', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'SHD', N'SHD', N'SHD', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'SL', 15, N'SL', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'SL', N'SL', N'SL', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'TenCty', 7, N'TenCty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TenCty', N'TenCty', N'TenCty', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'Tennguoimua', 6, N'Tennguoimua', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Tennguoimua', N'Tennguoimua', N'Tennguoimua', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'TenSP', 2, N'TenSP', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TenSP', N'TenSP', N'TenSP', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080214151532310', N'VATAmount', 4, N'VATAmount', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'VATAmount', N'VATAmount', N'VATAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'LoaiNoiHoi', 21, N'LoaiNoiHoi', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'LoaiNoiHoi', N'LoaiNoiHoi', N'LoaiNoiHoi', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'OrderQty', 23, N'OrderQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'OrderQty', N'OrderQty', N'OrderQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'Price', 3, N'Price', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Price', N'Price', N'Price', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'ServerDate', 20, N'ServerDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ServerDate', N'ServerDate', N'ServerDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'SHD', 8, N'SHD', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'SHD', N'SHD', N'SHD', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'SLMo', 24, N'SLMo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'SLMo', N'SLMo', N'SLMo', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'SLthucxuat', 25, N'SLthucxuat', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'SLthucxuat', N'SLthucxuat', N'SLthucxuat', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'TenCty', 7, N'TenCty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TenCty', N'TenCty', N'TenCty', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'Tennguoimua', 6, N'Tennguoimua', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Tennguoimua', N'Tennguoimua', N'Tennguoimua', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080219142325513', N'TransDate', 29, N'TransDate', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'TransDate', N'TransDate', N'TransDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'DSQty', 8, N'DSQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DSQty', N'DSQty', N'DSQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'InvoiceNo', 1, N'InvoiceNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'InvoiceNo', N'InvoiceNo', N'InvoiceNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'InvoiceQty', 5, N'InvoiceQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'InvoiceQty', N'InvoiceQty', N'InvoiceQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'NGQty', 6, N'NGQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'NGQty', N'NGQty', N'NGQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'PartName', 3, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'PartNo', 2, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'PartyName', 7, N'PartyName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartyName', N'PartyName', N'PartyName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'ReceiptQty', 9, N'ReceiptQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReceiptQty', N'ReceiptQty', N'ReceiptQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226120046917', N'UM', 4, N'UM', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'Column1', 3, N'Column1', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Column1', N'Column1', N'Column1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'Column2', 4, N'Column2', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'Column2', N'Column2', N'Column2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'DSQty', 6, N'DSQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'DSQty', N'DSQty', N'DSQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'FgoodsCode', 5, N'FgoodsCode', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'FgoodsCode', N'FgoodsCode', N'FgoodsCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'PartName', 2, N'PartName', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'PartNo', 1, N'PartNo', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'QAStatus', 7, N'QAStatus', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'QAStatus', N'QAStatus', N'QAStatus', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080226161701603', N'ReceiptQty', 8, N'ReceiptQty', N'', 1, 0, 1, 0, 720, N'', N'', 0, 0, 0, 0, 0, 0, 0, N'ReceiptQty', N'ReceiptQty', N'ReceiptQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'CAT', 10, N'CAT', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'CAT', N'CAT', N'CAT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'CUA', 17, N'CUA', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'CUA', N'CUA', N'CUA', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'CUON', 15, N'CUON', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'CUON', N'CUON', N'CUON', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'DUC', 18, N'DUC', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'DUC', N'DUC', N'DUC', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'GO', 14, N'GO', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'GO', N'GO', N'GO', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'Group1', 5, N'Group1', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Group1', N'Group1', N'Group1', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'Group2', 6, N'Group2', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Group2', N'Group2', N'Group2', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'GroupQuantity', 4, N'GroupQuantity', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'GroupQuantity', N'GroupQuantity', N'GroupQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'HAN', 8, N'HAN', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'HAN', N'HAN', N'HAN', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'KHOAN', 12, N'KHOAN', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'KHOAN', N'KHOAN', N'KHOAN', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'LR', 9, N'LR', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'LR', N'LR', N'LR', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'LVT', 19, N'LVT', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'LVT', N'LVT', N'LVT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'Machitiet', 1, N'Machitiet', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Machitiet', N'Machitiet', N'Machitiet', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'MIET', 13, N'MIET', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'MIET', N'MIET', N'MIET', 15, 3)
GO
print 'Processed 700 total records'
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'PB', 16, N'PB', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PB', N'PB', N'PB', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'Qty', 3, N'Qty', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Qty', N'Qty', N'Qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'Tenchitiet', 2, N'Tenchitiet', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Tenchitiet', N'Tenchitiet', N'Tenchitiet', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'TIEN', 11, N'TIEN', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'TIEN', N'TIEN', N'TIEN', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080313125016687', N'TL', 7, N'TL', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'TL', N'TL', N'TL', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408100906687', N'FgoodsCode', 1, N'FgoodsCode', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'FgoodsCode', N'FgoodsCode', N'FgoodsCode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408100906687', N'PartName', 4, N'PartName', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408100906687', N'PartNo', 3, N'PartNo', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408100906687', N'Qty', 5, N'Qty', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Qty', N'Qty', N'Qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408100906687', N'ReceivedQty', 6, N'ReceivedQty', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ReceivedQty', N'ReceivedQty', N'ReceivedQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408100906687', N'TransNo', 2, N'TransNo', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'TransNo', N'TransNo', N'TransNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'Adjustment1', 27, N'Adjustment1', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Adjustment1', N'Adjustment1', N'Adjustment1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'Adjustment2', 28, N'Adjustment2', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Adjustment2', N'Adjustment2', N'Adjustment2', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'ApprovalDate', 24, N'ApprovalDate', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ApprovalDate', N'ApprovalDate', N'ApprovalDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'ApproverID', 23, N'ApproverID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ApproverID', N'ApproverID', N'ApproverID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'BuyingUMID', 18, N'BuyingUMID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'BuyingUMID', N'BuyingUMID', N'BuyingUMID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'Closed', 4, N'Closed', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Closed', N'Closed', N'Closed', 3, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'DiscountAmount', 11, N'DiscountAmount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'DiscountAmount', N'DiscountAmount', N'DiscountAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'ImportTax', 19, N'ImportTax', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ImportTax', N'ImportTax', N'ImportTax', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'ImportTaxAmount', 8, N'ImportTaxAmount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ImportTaxAmount', N'ImportTaxAmount', N'ImportTaxAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'Line', 2, N'Line', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Line', N'Line', N'Line', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'NetAmount', 12, N'NetAmount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'NetAmount', N'NetAmount', N'NetAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'OrderQuantity', 5, N'OrderQuantity', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'OrderQuantity', N'OrderQuantity', N'OrderQuantity', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'ProductID', 25, N'ProductID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'PurchaseOrderDetailID', 1, N'PurchaseOrderDetailID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PurchaseOrderDetailID', N'PurchaseOrderDetailID', N'PurchaseOrderDetailID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'PurchaseOrderMasterID', 17, N'PurchaseOrderMasterID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PurchaseOrderMasterID', N'PurchaseOrderMasterID', N'PurchaseOrderMasterID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'ReOpen', 22, N'ReOpen', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ReOpen', N'ReOpen', N'ReOpen', 3, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'RequiredDate', 3, N'RequiredDate', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'RequiredDate', N'RequiredDate', N'RequiredDate', 16, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'SpecialTax', 20, N'SpecialTax', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'SpecialTax', N'SpecialTax', N'SpecialTax', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'SpecialTaxAmount', 9, N'SpecialTaxAmount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'SpecialTaxAmount', N'SpecialTaxAmount', N'SpecialTaxAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'StockUMID', 15, N'StockUMID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'StockUMID', N'StockUMID', N'StockUMID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'TotalAmount', 10, N'TotalAmount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'TotalAmount', N'TotalAmount', N'TotalAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'TotalDelivery', 16, N'TotalDelivery', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'TotalDelivery', N'TotalDelivery', N'TotalDelivery', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'UMRate', 26, N'UMRate', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UMRate', N'UMRate', N'UMRate', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'UnitPrice', 6, N'UnitPrice', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UnitPrice', N'UnitPrice', N'UnitPrice', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'VAT', 21, N'VAT', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'VAT', N'VAT', N'VAT', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'VATAmount', 7, N'VATAmount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'VATAmount', N'VATAmount', N'VATAmount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'VendorItem', 13, N'VendorItem', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'VendorItem', N'VendorItem', N'VendorItem', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080408102037840', N'VendorRevision', 14, N'VendorRevision', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'VendorRevision', N'VendorRevision', N'VendorRevision', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'Addition', 8, N'Addition', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Addition', N'Addition', N'Addition', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'Amount', 7, N'Amount', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Amount', N'Amount', N'Amount', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'Fgoodscode', 1, N'Fgoodscode', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Fgoodscode', N'Fgoodscode', N'Fgoodscode', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'months', 6, N'months', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'months', N'months', N'months', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'PartName', 10, N'PartName', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'PartNo', 9, N'PartNo', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'Payment', 4, N'Payment', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Payment', N'Payment', N'Payment', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'ProductionLineID', 3, N'ProductionLineID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLineID', N'ProductionLineID', N'ProductionLineID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'qty', 2, N'qty', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'qty', N'qty', N'qty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080409152738200', N'years', 5, N'years', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'years', N'years', N'years', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'Column1', 8, N'Column1', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'Column1', N'Column1', N'Column1', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'ComName', 7, N'ComName', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'ComName', N'ComName', N'ComName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'ComNO', 6, N'ComNO', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'ComNO', N'ComNO', N'ComNO', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'ComponentID', 5, N'ComponentID', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'ComponentID', N'ComponentID', N'ComponentID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'needQty', 4, N'needQty', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'needQty', N'needQty', N'needQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'PartName', 3, N'PartName', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'PartNo', 2, N'PartNo', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080505151338150', N'ProductID', 1, N'ProductID', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'BOMQty', 5, N'BOMQty', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'BOMQty', N'BOMQty', N'BOMQty', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'MakeItem', 6, N'MakeItem', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'MakeItem', N'MakeItem', N'MakeItem', 3, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'Model', 3, N'Model', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Model', N'Model', N'Model', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'ParentID', 11, N'ParentID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ParentID', N'ParentID', N'ParentID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'PartName', 2, N'PartName', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'PartNo', 1, N'PartNo', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'ProductID', 10, N'ProductID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ProductID', N'ProductID', N'ProductID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'ProductionLine', 9, N'ProductionLine', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLine', N'ProductionLine', N'ProductionLine', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'ProductionLineID', 8, N'ProductionLineID', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'ProductionLineID', N'ProductionLineID', N'ProductionLineID', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'UM', 4, N'UM', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'UM', N'UM', N'UM', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080529101454810', N'Weight', 7, N'Weight', N'', 1, 0, 1, 0, 720, NULL, N'', 0, 0, 0, 0, 0, 0, 0, N'Weight', N'Weight', N'Weight', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080530174954530', N'Months', 2, N'Months', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'Months', N'Months', N'Months', 9, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080530174954530', N'PartName', 4, N'PartName', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'PartName', N'PartName', N'PartName', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080530174954530', N'PartNo', 3, N'PartNo', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'PartNo', N'PartNo', N'PartNo', 18, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080530174954530', N'Slg', 5, N'Slg', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'Slg', N'Slg', N'Slg', 15, 3)
INSERT [sys_ReportFields] ([ReportID], [FieldName], [FieldOrder], [FieldCaption], [Font], [Visisble], [Type], [PrintReason], [PrintPreview], [Width], [Format], [ReportFormat], [Sort], [GroupBy], [BottomGroup], [SumTopPage], [SumBottomPage], [SumTopReport], [SumBottomReport], [FieldCaptionEN], [FieldCaptionVN], [FieldCaptionJP], [DataType], [Align]) VALUES (N'20080530174954530', N'Years', 1, N'Years', N'', 1, 0, 1, 0, 720, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, N'Years', N'Years', N'Years', 9, 3)
GO
-- sys_ReportPara--------------------------
/****** Object:  Table [sys_ReportPara]    Script Date: 11/09/2011 00:10:19 ******/
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051214095905607', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051214095905607', N'@ProductID', 2, N'Product', 9, 100, 0, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 250, N'', N'MakeItem = 1', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216102010373', N'@Category', 2, N'Category', 18, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'Code', N'Code', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216102010373', N'@CCN', 1, N'CCN', 18, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'Code', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216102010373', N'@MakeItem', 6, N'Make Item', 3, 20, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216102010373', N'@Model', 3, N'Model', 18, 100, 1, 0, 0, N'', N'', N'v_ProductRevision', N'Revision', N'Revision', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216102010373', N'@Source', 4, N'Source', 18, 100, 1, 0, 0, N'', N'', N'ITM_Source', N'Code', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216102010373', N'@Type', 5, N'Type', 18, 100, 1, 0, 0, N'', N'', N'ITM_ProductType', N'Code', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216155448810', N'@fdate', 2, N'Từ ngày', 16, 125, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216155448810', N'@fgoodscode', 4, N'Mã hàng hoá', 9, 150, 1, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, NULL, 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051216155448810', N'@tdate', 3, N'Đến ngày', 16, 125, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051222150218873', N'@CategoryID', 5, N'Category', 9, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051222150218873', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051222150218873', N'@PartyID', 4, N'Customer', 9, 100, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 100, N'Name', 250, N'', N'Customer = 0', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051222150218873', N'@ProductID', 6, N'Product', 9, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 250, N'', N'ITM_Product.CategoryID = @CategoryID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051222150218873', N'@ReportMonth', 2, N'Month', 7, 100, 0, 0, 0, N'', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051222150218873', N'@ReportYear', 3, N'Year', 7, 100, 0, 0, 0, N'', N'2004#2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20051227093844013', N'@ProductID', 1, N'Product', 9, 100, 0, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106112624623', N'@CategoryID', 4, N'Category', 9, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106112624623', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 200, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106112624623', N'@MasterLocationID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 200, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106112624623', N'@Model', 5, N'Model', 18, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106114352030', N'@CategoryID', 4, N'Nhóm V.Tư', 9, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106114352030', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 200, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106114352030', N'@LocationID', 3, N'Kho', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 200, N'', N'MST_Location.MasterLocationID = @MasterLocationID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106114352030', N'@MasterLocationID', 2, N'Kho tổng', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 200, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060106114352030', N'@Model', 5, N'Chủng loại', 18, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060121165113763', N'@BinID', 4, N'Bin', 9, 100, 1, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 100, N'Name', 250, N'', N'MST_Bin.LocationID = @LocationID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060121165113763', N'@CategoryID', 5, N'Category', 9, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 250, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060121165113763', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060121165113763', N'@LocationID', 3, N'Location', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 250, N'', N'MST_Location.MasterLocationID = @MasterLocationID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060121165113763', N'@MasterLocationID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 250, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060121165113763', N'@Model', 6, N'Model', 18, 100, 1, 0, 0, N'', N'', N'v_ProductRevision', N'Revision', N'Revision', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123104959123', N'@PartyID', 1, N'Vendor', 9, 1, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123151943030', N'@BinID', 4, N'Bin', 9, 100, 1, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 100, N'Name', 250, N'', N'MST_Bin.LocationID = @LocationID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123151943030', N'@CategoryID', 5, N'Category', 9, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 250, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123151943030', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123151943030', N'@LocationID', 3, N'Location', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 250, N'', N'MST_Location.MasterLocationID = @MasterLocationID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123151943030', N'@MasterLocationID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 250, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060123151943030', N'@Model', 6, N'Model', 18, 100, 1, 0, 0, N'', N'', N'v_ProductRevision', N'Revision', N'Revision', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060124141252233', N'@CategoryID', 3, N'Category', 9, 1, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060124141252233', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060124141252233', N'@MasterLocationID', 2, N'Master Location', 9, 1, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 150, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060124141252233', N'@Model', 5, N'Model', 18, 100, 1, 0, 0, N'', N'', N'v_ProductRevision', N'Revision', N'Revision', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060124141252233', N'@ProductID', 6, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'ITM_Product.CCNID = @CCNID AND
ITM_Product.CategoryID IN @CategoryID AND
ITM_Product.Revision IN @Model', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060124141252233', N'@SourceID', 4, N'Source', 9, 1, 1, 0, 0, N'', N'', N'ITM_Source', N'SourceID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@Customer', 5, N'Customer', 9, 1, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'Name', 150, N'', N'MST_Party.Type <> 1', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@FromDate', 2, N'From Date', 16, 126, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@ProductID', 6, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@SaleOrderMasterID', 4, N'Sale Order No.', 9, 1, 1, 0, 0, N'', N'', N'v_ShippedSaleOrder', N'SaleOrderMasterID', N'SONo', 100, N'', 0, N'', N'v_ShippedSaleOrder.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@ToDate', 3, N'To Date', 16, 126, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315100920780', N'@Username', 7, N'Username', 18, 1, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315102826293', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315102826293', N'@Customer', 3, N'Customer', 9, 1, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'Name', 150, N'', N'MST_Party.Type <> 1', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315102826293', N'@FromLocation', 2, N'From Location', 9, 1, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315102826293', N'@Model', 4, N'Model', 18, 100, 1, 0, 0, N'', N'', N'v_ProductRevision', N'Revision', N'Revision', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315102826293', N'@ProductID', 5, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'ITM_Product.CCNID = @CCNID AND
ITM_Product.Revision IN @Model', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315102826293', N'@Username', 6, N'User Name', 18, 1, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@FromDate', 2, N'From Post Date', 16, 126, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@LocationID', 4, N'Location', 9, 1, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@Model', 5, N'Model', 18, 100, 1, 0, 0, N'', N'', N'v_ProductRevision', N'Revision', N'Revision', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@ProductID', 6, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'ITM_Product.CCNID = @CCNID AND
ITM_Product.Revision IN @Model', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@ToDate', 3, N'To Post Date', 16, 126, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315104201077', N'@Username', 7, N'User Name', 18, 1, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@FromDate', 2, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@LocationID', 6, N'Location', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@ProductID', 9, N'Product', 9, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@PurposeID', 4, N'Purpose', 9, 100, 1, 0, 0, N'', N'', N'PRO_IssuePurpose', N'IssuePurposeID', N'Description', 100, N'', 0, N'', N'PRO_IssuePurpose.TranTypeID = 19', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@ShiftID', 5, N'Shift', 9, 100, 1, 0, 0, N'', N'', N'PRO_Shift', N'ShiftID', N'ShiftDesc', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@ToDate', 3, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@UserName', 10, N'User Name', 18, 100, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@WorkOrderDetailID', 8, N'Work Order Line', 9, 100, 1, 0, 0, N'', N'', N'v_WorkOrderDetail', N'WorkOrderDetailID', N'Line', 100, N'', 1, N'', N'v_WorkOrderDetail.WorkOrderMasterID = @WorkOrderMasterID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315155943547', N'@WorkOrderMasterID', 7, N'Work Order', 9, 100, 1, 0, 0, N'', N'', N'PRO_WorkOrderMaster', N'WorkOrderMasterID', N'WorkOrderNo', 100, N'', 0, N'', N'PRO_WorkOrderMaster.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@FromDate', 2, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@FromLocationID', 6, N'From Location', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@ProductIDList', 10, N'Component', 9, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@PurposeID', 4, N'Purpose', 9, 100, 1, 0, 0, N'', N'', N'PRO_IssuePurpose', N'IssuePurposeID', N'Description', 100, N'', 0, N'', N'PRO_IssuePurpose.TranTypeID = 21', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@ShiftID', 5, N'Shift', 9, 100, 1, 0, 0, N'', N'', N'PRO_Shift', N'ShiftID', N'ShiftDesc', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@ToDate', 3, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@ToLocationID', 7, N'To Location', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@UserName', 11, N'User Name', 18, 100, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@WorkOrderDetailID', 9, N'Work Order Line', 9, 100, 1, 0, 0, N'', N'', N'v_WorkOrderDetail', N'WorkOrderDetailID', N'Line', 100, N'', 0, N'', N'v_WorkOrderDetail.WorkOrderMasterID = @WorkOrderMasterID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060315160033250', N'@WorkOrderMasterID', 8, N'Work Order', 9, 100, 1, 0, 0, N'', N'', N'PRO_WorkOrderMaster', N'WorkOrderMasterID', N'WorkOrderNo', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@FromDate', 2, N'From Date', 16, 126, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@FromLocation', 5, N'From Location', 9, 1, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@PartyID', 7, N'Party', 9, 1, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@PurposeID', 4, N'Purpose', 9, 1, 1, 0, 0, N'', N'', N'PRO_IssuePurpose', N'IssuePurposeID', N'Description', 100, N'', 0, N'', N'PRO_IssuePurpose.TranTypeID = 24', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@ToDate', 3, N'To Date', 16, 126, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@ToLocation', 6, N'To Location', 9, 1, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316092109937', N'@Username', 8, N'User Name', 18, 1, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@FromDate', 2, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@PartyID', 5, N'Customer', 9, 100, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 100, N'Name', 150, N'', N'v_VendorCustomer.Customer = 0', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@ProductIDList', 6, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@SaleOrderMasterID', 4, N'Sale Order', 9, 100, 1, 0, 0, N'', N'', N'SO_SaleOrderMaster', N'SaleOrderMasterID', N'Code', 100, N'', 0, N'', N'SO_SaleOrderMaster.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@ToDate', 3, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
GO
print 'Processed 100 total records'
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060316112942170', N'@UserName', 7, N'User Name', 18, 100, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317095811873', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317095811873', N'@FromDate', 2, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317095811873', N'@FromLocationID', 5, N'From Location', 9, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317095811873', N'@PartyID', 4, N'Vendor', 9, 100, 1, 0, 0, N'', N'', N'v_vendor', N'PartyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317095811873', N'@ToDate', 3, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317095811873', N'@UserName', 6, N'User Name', 18, 100, 1, 0, 0, N'', N'', N'Sys_User', N'UserName', N'UserName', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317104452607', N'@CCNID', 1, N'CCN', 9, 120, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 120, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317104452607', N'@FromDate', 2, N'From Date', 16, 120, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317104452607', N'@ToDate', 3, N'To Date', 16, 120, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317104452607', N'@Type', 4, N'Type', 9, 120, 1, 0, 0, N'', N'', N'enm_POReceiptType', N'POReceiptTypeCode', N'Description', 120, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060317104452607', N'@Vendor', 5, N'Vendor', 9, 120, 1, 0, 0, N'', N'', N'v_vendor', N'PartyID', N'Code', 120, N'Name', 200, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060327175240793', N'@CCNID', 1, N'CCN', 7, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060327175240793', N'@LocationID', 5, N'Location', 7, 100, 0, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060327175240793', N'@Month', 3, N'Month', 7, 100, 0, 0, 0, N'', N'01#02#03#04#05#06#07#08#09#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060327175240793', N'@PartyID', 4, N'Vendor', 7, 100, 0, 0, 0, N'', N'', N'v_vendor', N'PartyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060327175240793', N'@Year', 2, N'Year', 7, 100, 0, 0, 0, N'', N'2004#2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@CurrencyID', 3, N'Currency', 9, 100, 0, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@ExchangeRate', 4, N'Exchange Rate', 15, 100, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@FromDate', 6, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@MasLocID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 150, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@ProductIDList', 8, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060415162029937', N'@ToDate', 7, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060417180732373', N'@CategoryIDList', 5, N'Category', 18, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060417180732373', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060417180732373', N'@LocationIDList', 4, N'Location', 18, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060417180732373', N'@Month', 3, N'Month', 7, 100, 0, 0, 0, N'', N'01#02#03#04#05#06#07#08#09#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060417180732373', N'@ProductIDList', 6, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 200, N'', N'ITM_Product.LocationID In @LocationIDList
AND ITM_Product.CategoryID In @CategoryIDList', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060417180732373', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'', N'2000#2001#2002#2003#2004#2005#2006#2007#2008#2009#', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060418145330543', N'@RoleID', 1, N'Role', 9, 100, 1, 0, 0, N'', N'', N'Sys_Role', N'RoleID', N'Name', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421143620590', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421143620590', N'@MakerID', 3, N'Maker(s)', 9, 100, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'Name', 250, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421143620590', N'@POMasterID', 2, N'PurchaseOrder(s)', 9, 100, 1, 0, 0, N'', N'', N'PO_PurchaseOrderMaster', N'PurchaseOrderMasterID', N'Code', 100, N'', 0, N'', N'PO_PurchaseOrderMaster.CCNID = @CCNID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421143620590', N'@ProductID', 4, N'Item(s)', 9, 100, 1, 0, 0, N'', N'', N'V_ProductInfor', N'ProductID', N'PartNumber', 100, N'PartName', 250, N'', N'V_ProductInfor.CCNID = @CCNID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421180409437', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 250, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421180409437', N'@Month', 3, N'Month', 9, 100, 0, 0, 0, N'', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421180409437', N'@PartyID', 4, N'Vendor(s)', 9, 100, 1, 0, 0, N'', N'', N'v_vendor', N'PartyID', N'Code', 100, N'Name', 250, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421180409437', N'@ProductID', 5, N'Product(s)', 9, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 250, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060421180409437', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'', N'2004#2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@CurrencyID', 5, N'Currency', 7, 100, 0, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@ExchangeRate', 6, N'Exchange Rate', 15, 100, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@FromDate', 3, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@MasLocID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 150, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@ProductIDList', 7, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'ITM_Product.MasterLocationID = @MasLocID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@ToDate', 4, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@VendorIDList', 9, N'Vendor', 18, 100, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060508114200467', N'@VendorType', 8, N'Vendor Type', 18, 100, 1, 0, 0, N'', N'#Local#Foreign', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@CurrencyIDList', 7, N'Currency', 18, 100, 1, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@CustomerIDList', 6, N'Customer', 18, 100, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 100, N'Name', 150, N'', N'v_VendorCustomer.Customer = 0', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@FromDate', 3, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@MasLocID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 150, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@ProductIDList', 5, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'ITM_Product.MasterLocationID = @MasLocID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060514115948000', N'@ToDate', 4, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060516092014340', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060516092014340', N'@MasLocID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 150, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060516092014340', N'@PartyIDList', 3, N'Customer', 18, 100, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 100, N'Name', 150, N'', N'v_VendorCustomer.Customer = 0', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060516092014340', N'@ProductIDList', 5, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060516092014340', N'@SaleOrderIDList', 4, N'SO No.', 18, 100, 1, 0, 0, N'', N'', N'SO_SaleOrderMaster', N'SaleOrderMasterID', N'Code', 100, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060605100737827', N'@ConfirmShipMasterID', 1, N'Confirm Ship No', 9, 100, 0, 0, 0, N'', N'', N'SO_ConfirmShipMaster', N'ConfirmShipMasterID', N'ConfirmShipNo', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060605110907733', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060605110907733', N'@MakerID', 2, N'Makers', 9, 1, 0, 0, 0, N'', N'', N'v_PartyWithCCN', N'PartyID', N'Code', 100, N'Name', 150, N'', N'v_PartyWithCCN.Type <> 0 AND v_PartyWithCCN.CCNID <> @CCNID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060605110907733', N'@Month', 4, N'Month', 9, 100, 0, 0, 0, N'6', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060605110907733', N'@Tolerance', 5, N'Tolerance', 9, 100, 0, 0, 0, N'5', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060605110907733', N'@Year', 3, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606141610700', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 130, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606141610700', N'@CustomerID', 5, N'Customer', 9, 1, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 130, N'Name', 150, N'', N'MST_Party.Type <> 1', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606141610700', N'@FromMonth', 2, N'From Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606141610700', N'@ToMonth', 3, N'To Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606141610700', N'@Type', 4, N'Area', 9, 1, 1, 0, 0, N'', N'', N'SO_Type', N'Code', N'Description', 130, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606173621403', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606173621403', N'@Code', 7, N'Code', 18, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606173621403', N'@Month', 3, N'Month', 7, 100, 0, 0, 0, N'', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060606173621403', N'@Year', 2, N'Year', 7, 100, 0, 0, 0, N'', N'2004#2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609100024060', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 130, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609100024060', N'@FromMonth', 2, N'From Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609100024060', N'@LicensorID', 4, N'Licensor', 9, 1, 0, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 130, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609100024060', N'@ToMonth', 3, N'To Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152315577', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 130, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152315577', N'@CustomerID', 5, N'Customer', 9, 1, 0, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 130, N'Name', 150, N'', N'MST_Party.Type <> 1', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152315577', N'@FromMonth', 2, N'From Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152315577', N'@ToMonth', 3, N'To Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152315577', N'@Type', 4, N'Area', 9, 1, 0, 0, 0, N'', N'', N'SO_Type', N'Code', N'Description', 130, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152749950', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 130, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152749950', N'@FromMonth', 2, N'From Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152749950', N'@LicensorID', 4, N'Licensor', 9, 1, 0, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 130, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060609152749950', N'@ToMonth', 3, N'To Date', 16, 130, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611162954140', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611162954140', N'@MapTarget', 5, N'Map Target', 9, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611162954140', N'@Month', 3, N'Month', 9, 100, 0, 0, 0, N'6', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611162954140', N'@Tolerance', 6, N'Tolerance', 9, 100, 0, 0, 0, N'5', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611162954140', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163303640', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163303640', N'@MapTarget', 5, N'Map Target', 9, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163303640', N'@Tolerance', 6, N'Tolerance', 9, 100, 0, 0, 0, N'5', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163303640', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@CurrencyID', 9, N'Currency', 9, 1, 0, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@ExRate', 10, N'Exchange Rate', 15, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
GO
print 'Processed 200 total records'
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@MakerID', 6, N'Maker', 9, 1, 0, 0, 0, N'', N'', N'v_PartyWithCCN', N'PartyID', N'Code', 100, N'Name', 150, N'', N'v_PartyWithCCN.Type <> 0 AND v_PartyWithCCN.CCNID <> @CCNID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@MapTarget', 7, N'Map Target', 9, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@Month', 5, N'Month', 9, 100, 0, 0, 0, N'6', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@ProductID', 8, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611163856153', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164200077', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164200077', N'@Month', 3, N'Month', 7, 100, 0, 0, 0, N'', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164200077', N'@POMasterID', 7, N'Purchase Order', 9, 100, 0, 0, 0, N'', N'', N'PO_PurchaseOrderMaster', N'PurchaseOrderMasterID', N'Code', 100, N'', 0, N'', N'PO_PurchaseOrderMaster.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164200077', N'@Year', 2, N'Year', 7, 100, 0, 0, 0, N'', N'2004#2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164542873', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164542873', N'@CurrencyID', 6, N'Currency', 9, 1, 0, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164542873', N'@ExRate', 7, N'Exchange Rate', 15, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164542873', N'@Month', 5, N'Month', 9, 100, 0, 0, 0, N'6', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164542873', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164724967', N',@CurrencyID', 3, N'CurrencyID', 9, 1, 0, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164724967', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164724967', N'@ExRate', 4, N'Exchange Rate', 15, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164724967', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164829967', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164829967', N'@ProductID', 3, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060611164829967', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612105404390', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612105404390', N'@CurrencyIDList', 4, N'Currency', 18, 100, 1, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612105404390', N'@FromDate', 2, N'From Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612105404390', N'@ToDate', 3, N'To Date', 16, 125, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612153634123', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 130, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612153634123', N'@OrderDate', 6, N'Order Date', 16, 130, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612153634123', N'@POMasterID', 5, N'PO No.', 9, 1, 1, 0, 0, N'', N'', N'PO_PurchaseOrderMaster', N'PurchaseOrderMasterID', N'Code', 130, N'', 0, N'', N'PO_PurchaseOrderMasterID.PartyID = @VendorID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612153634123', N'@ProductID', 4, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 130, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060612153634123', N'@VendorID', 3, N'Vendor', 9, 1, 0, 0, 0, N'', N'', N'v_PartyWithCCN', N'PartyID', N'Code', 130, N'Name', 150, N'', N'v_PartyWithCCN.Type <> 0 AND v_PartyWithCCN.CCNID <> @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 200, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@FromDate', 4, N'From Date', 16, 125, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@LocationIDList', 3, N'Location', 18, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 200, N'', N'MST_Location.MasterLocationID = @MasLocID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@MasLocID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 200, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@ProductIDList', 7, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@ToDate', 5, N'To Date', 16, 125, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060613181207263', N'@TransTypeIDList', 6, N'Trans. Type', 18, 100, 1, 0, 0, N'', N'', N'MST_TranType', N'TranTypeID', N'Code', 100, N'Description', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060621175625340', N'@CustomerIDList', 3, N'Customer', 18, 100, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 100, N'Name', 200, N'', N'v_VendorCustomer.Customer = 0', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060621175625340', N'@Month', 1, N'Month', 18, 100, 0, 0, 0, N'', N'01#02#03#04#05#06#07#08#09#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060621175625340', N'@Year', 2, N'Year', 18, 100, 0, 0, 0, N'2009', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060622112838983', N'@CustomerIDList', 3, N'Customer', 18, 100, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 100, N'Name', 200, N'', N'v_VendorCustomer.Customer = 0', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060622112838983', N'@Month', 1, N'Month', 18, 100, 0, 0, 0, N'', N'01#02#03#04#05#06#07#08#09#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060622112838983', N'@Year', 2, N'Year', 18, 100, 0, 0, 0, N'2009', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@CurrencyID', 5, N'Currency', 7, 100, 0, 0, 0, N'', N'', N'MST_Currency', N'CurrencyID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@ExchangeRate', 6, N'Exchange Rate', 15, 100, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@FromDate', 3, N'From Date', 16, 125, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@MasLocID', 2, N'Master Location', 9, 100, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 100, N'Name', 150, N'', N'MST_MasterLocation.CCNID = @CCNID', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@ProductIDList', 7, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 150, N'', N'ITM_Product.MasterLocationID = @MasLocID', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@ToDate', 4, N'To Date', 16, 125, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060712103905357', N'@VendorIDList', 9, N'Vendor', 18, 100, 1, 0, 0, N'', N'', N'V_LocalVendor', N'PartyID', N'Code', 100, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@Category', 3, N'Category', 9, 150, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@FromDate', 1, N'From Date', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@Model', 7, N'Model', 4, 150, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@Party', 6, N'Vendor', 9, 150, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@Product', 4, N'Product Code', 9, 150, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@ProductType', 5, N'Product Type', 9, 150, 1, 0, 0, N'', N'', N'ITM_ProductType', N'ProductTypeID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060916165135890', N'@ToDate', 2, N'To Date', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060929114949327', N'@Category', 5, N'Category', 9, 1, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 150, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060929114949327', N'@MakerID', 4, N'Maker', 9, 150, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060929114949327', N'@Month', 2, N'Month', 9, 150, 0, 0, 0, N'', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060929114949327', N'@PartyID', 3, N'Vendor', 11, 150, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060929114949327', N'@ProductID', 6, N'Product', 11, 150, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'ITM_Product.CategoryID IN @Category', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20060929114949327', N'@Year', 1, N'Year', 9, 150, 0, 0, 0, N'2006', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061012153040513', N'@CategoryIDList', 5, N'Category', 18, 100, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 100, N'Name', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061012153040513', N'@CCNID', 1, N'CCN', 9, 100, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 100, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061012153040513', N'@LocationIDList', 4, N'Location', 18, 100, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 200, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061012153040513', N'@Month', 3, N'Month', 7, 100, 0, 0, 0, N'', N'01#02#03#04#05#06#07#08#09#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061012153040513', N'@ProductIDList', 6, N'Product', 18, 100, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 100, N'Description', 200, N'', N'ITM_Product.LocationID In @LocationIDList
AND ITM_Product.CategoryID In @CategoryIDList', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061012153040513', N'@Year', 2, N'Year', 9, 100, 0, 0, 0, N'', N'2000#2001#2002#2003#2004#2005#2006#2007#2008#2009#', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061109094110013', N'@cycle', 1, N'Cycle Option', 11, 150, 0, 0, 0, N'', N'', N'PRO_DCOptionMaster', N'DCOptionMasterID', N'Cycle', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061109094110013', N'@workcenter', 2, N'ProductionLine', 11, 150, 0, 0, 0, N'', N'', N'MST_WorkCenter', N'WorkCenterID', N'Code', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061117152107810', N'@bin', 4, N'Bin', 11, 150, 1, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061117152107810', N'@cat', 5, N'Cat', 11, 150, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061117152107810', N'@location', 3, N'Location', 11, 150, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061117152107810', N'@month', 2, N'Month', 9, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061117152107810', N'@product', 6, N'Product', 11, 150, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061117152107810', N'@year', 1, N'Year', 9, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061124143451733', N'@Category', 3, N'Category', 9, 1, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 150, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061124143451733', N'@Month', 2, N'Month', 9, 150, 0, 0, 0, N'11', N'1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061124143451733', N'@ProductID', 4, N'Product', 9, 1, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'ITM_Product.CategoryID IN @Category', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061124143451733', N'@Year', 1, N'Year', 9, 150, 0, 0, 0, N'2006', N'2005#2006#2007#2008#2009#2010#2011', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061205103013000', N'@month', 2, N'Month', 9, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061205103013000', N'@year', 1, N'Year', 9, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061205111008657', N'@month', 2, N'Month', 9, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061205111008657', N'@year', 1, N'Year', 9, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228090721280', N'@Bin', 5, N'Bin', 9, 1, 1, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 150, N'Name', 150, N'', N'MST_Bin.LocationID IN @Location', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228090721280', N'@Location', 4, N'Location', 9, 1, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 150, N'Name', 150, N'', N'MST_Location.MasterLocationID = @MasterLocation', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228090721280', N'@MasterLocation', 3, N'Master Location', 9, 1, 0, 0, 0, N'', N'', N'MST_MasterLocation', N'MasterLocationID', N'Code', 150, N'Name', 200, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228090721280', N'@PeriodID', 2, N'Stock Taking Period', 9, 150, 0, 0, 0, N'', N'', N'IV_StockTakingPeriod', N'StockTakingPeriodID', N'Description', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@bin', 6, N'Bin', 9, 150, 1, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 150, N'', 0, N'', N'MST_Bin.LocationID in @loc', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@cat', 7, N'Category', 9, 150, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@def', 3, N'Department', 9, 150, 1, 0, 0, N'', N'', N'MST_Department', N'DepartmentID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@loc', 5, N'Location', 9, 150, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@period', 2, N'Stock Taking Period', 9, 150, 0, 0, 0, N'', N'', N'IV_StockTakingPeriod', N'StockTakingPeriodID', N'Description', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@pl', 4, N'Production Line', 9, 150, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'', 0, N'', N'PRO_ProductionLine.DepartmentID in @def', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20061228145550153', N'@product', 8, N'Part Number', 9, 150, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20070117145950090', N'@ProductID', 1, N'V.Tư/H.Hoá', 9, 1, 0, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071128153038553', N'@month', 2, N'Tháng', 9, 100, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071128153038553', N'@PL', 3, N'Xí nghiệp', 9, 150, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 100, N'Name', 100, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071128153038553', N'@year', 1, N'Năm', 9, 100, 0, 0, 0, N'2010', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
GO
print 'Processed 300 total records'
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071128162716380', N'@month', 2, N'Tháng', 9, 100, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071128162716380', N'@PL', 3, N'Xí nghiệp', 9, 150, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 100, N'Name', 100, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071128162716380', N'@year', 1, N'Năm', 9, 100, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071205111743423', N'@Fullname', 3, N'Người lập', 18, 300, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071205111743423', N'@ProductionLineID', 2, N'Xí nghiệp chế tạo', 9, 1, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071205111743423', N'@SaleOrderDetailID', 1, N'Mã hàng', 9, 1, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071205160714517', N'@product', 1, N'Mã sản phẩm', 7, 150, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071213143211780', N'@SaleOrderDetailID', 1, N'Mã hàng', 9, 1, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071213143343577', N'@ProductionLineID', 2, N'Xí nghiệp', 9, 1, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20071213143343577', N'@SaleOrderDetailID', 1, N'Mã hàng', 9, 1, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080103134026600', N'@PL', 2, N'Xí nghiệp', 9, 150, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080103134026600', N'@PRODUCT', 3, N'V.Tư/H.Hoá', 9, 150, 1, 0, 0, N'', N'', N'v_ItemInSale', N'ProductID', N'Code', 150, N'Description', 150, N'', N'v_ItemInSale.SaleOrderDetailID = @SO', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080103134026600', N'@SO', 1, N'Mã hàng', 9, 150, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080103151906850', N'@fg', 2, N'Mã hàng', 7, 150, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080103151906850', N'@PL', 1, N'Xí nghiệp', 9, 150, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080110142904590', N'@FGoodsCode', 1, N'Mã hàng', 18, 150, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'FGoodsCode', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080110142904590', N'@Fullname', 3, N'Người lập', 18, 300, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080110142904590', N'@ProductionLineID', 2, N'Xí nghiệp', 9, 1, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080115111252653', N'@fdate', 1, N'Từ ngày', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080115111252653', N'@tdate', 2, N'Đến ngày', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080121153823863', N'@kk', 1, N'Kỳ kiểm kê', 7, 100, 0, 0, 0, N'', N'', N'IV_StockTakingPeriod', N'StockTakingPeriodID', N'Description', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080121153823863', N'@kt', 5, N'Kế toán viên', 4, 200, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080121153823863', N'@loc', 6, N'Kho', 7, 150, 0, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 150, N'Name', 200, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080121153823863', N'@tk1', 3, N'Thủ kho viên 1', 4, 200, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080121153823863', N'@tk2', 4, N'Thủ kho viên 2', 4, 200, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080121153823863', N'@tt', 2, N'Tổ trưởng', 4, 200, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080214144318077', N'@month', 2, N'Tháng', 11, 50, 1, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080214144318077', N'@year', 1, N'Năm', 7, 150, 1, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080214151532310', N'@month', 1, N'Tháng', 7, 50, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080214151532310', N'@year', 2, N'Năm', 7, 150, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080219142325513', N'@month', 1, N'Tháng', 7, 50, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080219142325513', N'@year', 2, N'Năm', 7, 150, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080226120046917', N'@invoice', 1, N'Số Hoá đơn mua hàng', 7, 150, 0, 0, 0, N'', N'', N'PO_InvoiceMaster', N'InvoiceMasterID', N'InvoiceNo', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080226161701603', N'@fg', 1, N'Mã hàng', 7, 150, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080313125016687', N'@PL', 2, N'Xí nghiệp', 9, 150, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080313125016687', N'@SO', 1, N'Mã hàng', 9, 150, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080319131635030', N'@bin', 5, N'Kho lôgic', 9, 150, 0, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 150, N'Name', 150, N'', N'MST_Bin.LocationID= @loc', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080319131635030', N'@fg', 6, N'Mã hàng', 9, 150, 1, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080319131635030', N'@item', 4, N'Vật tư', 9, 150, 0, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080319131635030', N'@loc', 3, N'Kho', 7, 100, 0, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 100, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080319131635030', N'@month', 2, N'Tháng', 9, 100, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080319131635030', N'@year', 1, N'Năm', 9, 100, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080320160611373', N'@fdate', 1, N'Từ ngày', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080320160611373', N'@fgoodscode', 4, N'Mã hàng', 9, 150, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080320160611373', N'@pl', 3, N'Xí nghiệp', 9, 150, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080320160611373', N'@tdate', 2, N'Đến ngày', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080324141106920', N'@FGoodsCode', 1, N'Mã hàng hoá', 9, 1, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, NULL, 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080324141106920', N'@ProductionLineID', 2, N'Xí nghiệp', 9, 1, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080327144235793', N'@bin', 2, N'Kho lôgic', 9, 150, 1, 0, 0, N'', N'', N'MST_BIN', N'BinID', N'Code', 150, N'Name', 150, N'', N'MST_BIN.LocationID= @loc', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080327144235793', N'@loc', 1, N'Kho', 9, 150, 1, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 150, N'Name', 150, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080327144235793', N'@product', 3, N'Vật tư', 7, 150, 1, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Description', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080331110317327', N'@month', 3, N'Tháng', 9, 150, 0, 0, 0, N'', N'', N'', NULL, NULL, 0, NULL, 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080331110317327', N'@PL', 1, N'Xí nghiệp', 9, 150, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080331110317327', N'@year', 2, N'Năm', 9, 150, 0, 0, 0, N'2011', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080408100906687', N'@mh', 2, N'Mã hàng', 9, 150, 1, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080408100906687', N'@xn', 1, N'Xí nghiệp', 9, 150, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080408101140390', N'@dvdh', 1, N'Đơn vị đặt hàng', 9, 1, 1, 0, 0, N'', N'', N'V_VendorCustomer', N'PartyID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080408101140390', N'@sdh', 2, N'Số đơn hàng', 9, 150, 1, 0, 0, N'', N'', N'SO_SaleOrderMaster', N'SaleOrderMasterID', N'Code', 150, N'', 0, N'', N'SO_SaleOrderMaster.PartyID = @dvdh', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080408101140390', N'@sp', 3, N'Sản phẩm', 9, 1, 1, 0, 0, N'', N'', N'v_ProductInSale', N'ProductID', N'Code', 150, N'Description', 150, N'', N'v_ProductInSale.SaleOrderMasterID = @sdh', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080409152738200', N'@month', 1, N'Tháng', 9, 100, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080409152738200', N'@pl', 3, N'Xí nghiệp', 9, 150, 0, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 100, N'Name', 100, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080409152738200', N'@year', 2, N'Năm', 9, 100, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080423043235067', N'@fdate', 1, N'Từ ngày', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080423043235067', N'@ncc', 3, N'Nhà cung cấp', 9, 100, 1, 0, 0, N'', N'', N'MST_Party', N'PartyID', N'Code', 100, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080423043235067', N'@tdate', 2, N'Đến ngày', 16, 150, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080505151338150', N'@woline', 1, N'Chi tiết', 9, 150, 0, 0, 0, N'', N'', N'V_chitiet_canhoanthanh_theoMahang', N'WorkOrderDetailID', N'Code', 150, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080507114905640', N'@lsx', 1, N'Chi tiết', 9, 150, 0, 0, 0, N'', N'', N'v_WOCompletion', N'WorkOrderDetailID', N'PartName', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080507142842373', N'@mycode', 1, N'Sản phẩm', 18, 150, 0, 0, 0, N'', N'', N'', NULL, NULL, 0, NULL, 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080513112229110', N'@mycode', 1, N'Sản phẩm', 18, 100, 0, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080529101418890', N'@Fullname', 3, N'Người lập', 18, 300, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080529101418890', N'@ProductionLineID', 2, N'Xí nghiệp chế tạo', 9, 1, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Name', 150, N'Code', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080529101418890', N'@SaleOrderDetailID', 1, N'Mã hàng', 9, 1, 0, 0, 0, N'', N'', N'SO_SaleOrderDetail', N'SaleOrderDetailID', N'FGoodsCode', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080529101454810', N'@FGoodsCode', 1, N'Mã sản phẩm', 9, 150, 0, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080529101454810', N'@Fullname', 3, N'Người lập', 18, 300, 1, 0, 0, N'', N'', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080529101454810', N'@ProductionLineID', 2, N'Xí nghiệp', 9, 1, 1, 0, 0, N'', N'', N'PRO_ProductionLine', N'ProductionLineID', N'Code', 150, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080530150951683', N'@loc', 3, N'Kho', 11, 150, 0, 0, 0, N'', N'', N'MST_Location', N'LocationID', N'Code', 150, N'', 0, N'', N'', 1)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080530150951683', N'@month', 2, N'Tháng', 9, 150, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', NULL, NULL, 0, NULL, 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080530150951683', N'@year', 1, N'Năm', 9, 150, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080530174954530', N'@month', 2, N'Tháng', 9, 150, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', NULL, NULL, 0, NULL, 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080530174954530', N'@year', 1, N'Năm', 9, 150, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080602103419840', N'@date', 1, N'Ngày cuối kỳ', 16, 150, 0, 0, 0, N'', N'', N'', NULL, NULL, 0, NULL, 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080602141347653', N'@month', 2, N'Tháng', 9, 150, 0, 0, 0, N'', N'#1#2#3#4#5#6#7#8#9#10#11#12', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080602141347653', N'@year', 1, N'Năm', 9, 150, 0, 0, 0, N'2011', N'#2008#2009#2010#2011#2012#2013#2014#2015', N'', N'', N'', 0, N'', 0, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080616142526060', N'@CategoryID', 2, N'Category', 9, 1, 1, 0, 0, N'', N'', N'ITM_Category', N'CategoryID', N'Code', 150, N'Name', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080616142526060', N'@CCNID', 1, N'CCN', 9, 1, 0, 0, 0, N'', N'', N'MST_CCN', N'CCNID', N'Code', 150, N'Description', 150, N'', N'', 0)
INSERT [sys_ReportPara] ([ReportID], [ParaName], [ParaOrder], [ParaCaption], [DataType], [Width], [Optional], [TagValue], [SameRow], [DefaultValue], [Items], [FromTable], [FromField], [FilterField1], [FilterField1Width], [FilterField2], [FilterField2Width], [SQLCLause], [WhereClause], [MultiSelection]) VALUES (N'20080616142526060', N'@ProductID', 3, N'Product', 9, 1, 0, 0, 0, N'', N'', N'ITM_Product', N'ProductID', N'Code', 150, N'Description', 150, N'', N'', 0)
GO
